@@ -123,7 +123,7 @@ block content
123
123
124
124
var bot_iframe = {
125
125
view: " iframe" ,
126
- src: " //mydicebot.com"
126
+ src: " https: //mydicebot.com"
127
127
};
128
128
129
129
var faq_iframe = {
@@ -183,7 +183,7 @@ block content
183
183
184
184
var bet_datatable;
185
185
186
- if (! webix .env .mobile ) {
186
+ if (! webix .env .touch ) {
187
187
bet_datatable = {
188
188
id: " bet_datatable" ,
189
189
view: " datatable" ,
@@ -221,19 +221,19 @@ block content
221
221
// - minHeight: 500,
222
222
width: 400 ,
223
223
cells: [
224
- {
225
- header: " BOT" ,
226
- body: {
227
- id: " site_form" ,
228
- view: " form" ,
229
- padding: 4 ,
230
- // - minHeight: 500,
231
- width: 0 ,
232
- elements: [
233
- bot_iframe
234
- ]
235
- }
236
- },
224
+ <!-- { -->
225
+ <!-- header: " BOT" ,-->
226
+ <!-- body: {-->
227
+ <!-- id: " site_form" ,-->
228
+ <!-- view: " form" ,-->
229
+ <!-- padding: 4 ,-->
230
+ <!-- // - minHeight: 500,-->
231
+ <!-- width: 0 ,-->
232
+ <!-- elements: [-->
233
+ <!-- bot_iframe-->
234
+ <!-- ] -->
235
+ <!-- } -->
236
+ <!-- }, -->
237
237
{
238
238
header: " MANUAL" ,
239
239
body: {
@@ -691,7 +691,7 @@ block content
691
691
bet_house_edge_selection,
692
692
reset_session_button,
693
693
switch_site_button,
694
- ads,
694
+ <!-- ads,-->
695
695
]
696
696
};
697
697
@@ -711,7 +711,7 @@ block content
711
711
]
712
712
};
713
713
714
- if (! webix .env .mobile ) {
714
+ if (! webix .env .touch ) {
715
715
webix .ui (
716
716
{
717
717
id: " bet_layout" ,
@@ -935,7 +935,7 @@ block content
935
935
var mobiles = [' bet_total_stats' , ' bet_current_stats' , ' bet_current_stats2' , ' bet_datatable' , ' misc_items_form' ];
936
936
937
937
webix .extend ($$ (" bet_chart" ), webix .ProgressBar );
938
- if (webix .env .mobile ) {
938
+ if (webix .env .touch ) {
939
939
mobiles .forEach (function (element ) {
940
940
console .log (element);
941
941
webix .extend ($$ (element), webix .ProgressBar );
@@ -1099,7 +1099,7 @@ block content
1099
1099
type: " icon" ,
1100
1100
delay: 3000
1101
1101
});
1102
- if (webix .env .mobile ) {
1102
+ if (webix .env .touch ) {
1103
1103
mobiles .forEach (function (element ) {
1104
1104
$$ (element).showProgress ({
1105
1105
type: " icon" ,
@@ -1120,7 +1120,7 @@ block content
1120
1120
$$ (" script_bet_strategy_list" ).enable ();
1121
1121
$$ (" script_bet_strategy_list" ).refresh ();
1122
1122
$$ (" bet_chart" ).hideProgress ();
1123
- if (webix .env .mobile ) {
1123
+ if (webix .env .touch ) {
1124
1124
mobiles .forEach (function (element ) {
1125
1125
$$ (element).hideProgress ();
1126
1126
});
@@ -1245,7 +1245,7 @@ block content
1245
1245
type: " icon" ,
1246
1246
delay: 3000
1247
1247
});
1248
- if (webix .env .mobile ) {
1248
+ if (webix .env .touch ) {
1249
1249
mobiles .forEach (function (element ) {
1250
1250
$$ (element).showProgress ({
1251
1251
type: " icon" ,
@@ -1269,7 +1269,7 @@ block content
1269
1269
isLoop = outError (ret);
1270
1270
}
1271
1271
$$ (" bet_chart" ).hideProgress ();
1272
- if (webix .env .mobile ) {
1272
+ if (webix .env .touch ) {
1273
1273
mobiles .forEach (function (element ) {
1274
1274
$$ (element).hideProgress ();
1275
1275
});
@@ -1360,7 +1360,7 @@ block content
1360
1360
type: " icon" ,
1361
1361
delay: 3000
1362
1362
});
1363
- if (webix .env .mobile ) {
1363
+ if (webix .env .touch ) {
1364
1364
mobiles .forEach (function (element ) {
1365
1365
$$ (element).showProgress ({
1366
1366
type: " icon" ,
@@ -1388,7 +1388,7 @@ block content
1388
1388
isLoop = outError (ret);
1389
1389
}
1390
1390
$$ (" bet_chart" ).hideProgress ();
1391
- if (webix .env .mobile ) {
1391
+ if (webix .env .touch ) {
1392
1392
mobiles .forEach (function (element ) {
1393
1393
$$ (element).hideProgress ();
1394
1394
});
@@ -1439,7 +1439,7 @@ block content
1439
1439
type: " icon" ,
1440
1440
delay: 3000
1441
1441
});
1442
- if (webix .env .mobile ) {
1442
+ if (webix .env .touch ) {
1443
1443
mobiles .forEach (function (element ) {
1444
1444
$$ (element).showProgress ({
1445
1445
type: " icon" ,
@@ -1451,7 +1451,7 @@ block content
1451
1451
let ret = result .json ();
1452
1452
// console.log(ret);
1453
1453
$$ (" bet_chart" ).hideProgress ();
1454
- if (webix .env .mobile ) {
1454
+ if (webix .env .touch ) {
1455
1455
mobiles .forEach (function (element ) {
1456
1456
$$ (element).hideProgress ();
1457
1457
});
@@ -1464,7 +1464,7 @@ block content
1464
1464
type: " icon" ,
1465
1465
delay: 3000
1466
1466
});
1467
- if (webix .env .mobile ) {
1467
+ if (webix .env .touch ) {
1468
1468
mobiles .forEach (function (element ) {
1469
1469
$$ (element).showProgress ({
1470
1470
type: " icon" ,
@@ -1475,7 +1475,7 @@ block content
1475
1475
webix .ajax ().get (' refresh?currency=' + $$ (" bet_currency_selection" ).getText ().toLowerCase ()).then (function (result ) {
1476
1476
let ret = result .json ();
1477
1477
$$ (" bet_chart" ).hideProgress ();
1478
- if (webix .env .mobile ) {
1478
+ if (webix .env .touch ) {
1479
1479
mobiles .forEach (function (element ) {
1480
1480
$$ (element).hideProgress ();
1481
1481
});
@@ -1597,13 +1597,13 @@ block content
1597
1597
}
1598
1598
})();
1599
1599
function focusFunction () {
1600
- if (webix .env .mobile ) {
1600
+ if (webix .env .touch ) {
1601
1601
let layout = $$ (" mobile_toolbar" ).getParentView ();
1602
1602
layout .hide ();
1603
1603
}
1604
1604
}
1605
1605
function onblurFunction () {
1606
- if (webix .env .mobile ) {
1606
+ if (webix .env .touch ) {
1607
1607
let layout = $$ (" mobile_toolbar" ).getParentView ();
1608
1608
layout .show ();
1609
1609
}
0 commit comments