@millistream/millistream-widgets 1.0.27 → 1.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/millistream-widgets.js +2 -2
- package/package.json +1 -1
package/millistream-widgets.js
CHANGED
|
@@ -3627,7 +3627,7 @@ function Milli_OptionsList(settings) {
|
|
|
3627
3627
|
let decimals = 0;
|
|
3628
3628
|
let expirys = [];
|
|
3629
3629
|
|
|
3630
|
-
for (i = 0; i < resp.instruments.length; i++) {
|
|
3630
|
+
for (let i = 0; i < resp.instruments.length; i++) {
|
|
3631
3631
|
let dec = getNumDecimals(_this, resp.instruments[i].strikeprice);
|
|
3632
3632
|
decimals = decimals > dec ? decimals : dec;
|
|
3633
3633
|
|
|
@@ -3815,7 +3815,7 @@ function Milli_OptionsList(settings) {
|
|
|
3815
3815
|
if (m_strikedates.length == 0) return;
|
|
3816
3816
|
for (let s = 0; s < m_strikedates.length; s++) {
|
|
3817
3817
|
let display = '';
|
|
3818
|
-
let tr;
|
|
3818
|
+
let tr, th;
|
|
3819
3819
|
if (_this.settings.strikedateHeader) {
|
|
3820
3820
|
tr = MillistreamWidgetApi_addElement(_this, 'tr', null, tbody);
|
|
3821
3821
|
tr.setAttribute('data-strikedate', m_strikedates[s].strikedate);
|