Fix: IE10 bug - DOCTYPE, IE=Edge, let -> var
This commit is contained in:
@@ -5,7 +5,7 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
function loadMouseApp() {
|
||||
let self = this;
|
||||
var self = this;
|
||||
|
||||
sendRequestServer( //url, sendParams, onSuccess, onFail, isDebugMode);
|
||||
"./../server/app/mouse_app_list.php",
|
||||
@@ -26,8 +26,8 @@ function loadMouseApp() {
|
||||
function makeMouseAppList(appList) {
|
||||
$("#mouse_app_content").empty();
|
||||
|
||||
for(let i = 0; i < appList.length; i++) {
|
||||
let appData = appList[i];
|
||||
for(var i = 0; i < appList.length; i++) {
|
||||
var appData = appList[i];
|
||||
|
||||
$("#mouse_app_content").append('\
|
||||
<div class="form-check col col-sm-2">\
|
||||
@@ -50,10 +50,10 @@ function makeMouseAppList(appList) {
|
||||
}
|
||||
|
||||
function activateMouseApp(activatedList) {
|
||||
for(let i = 0; i < activatedList.length; i++) {
|
||||
let activatedAppID = activatedList[i].appID;
|
||||
for(var i = 0; i < activatedList.length; i++) {
|
||||
var activatedAppID = activatedList[i].appID;
|
||||
|
||||
let input = $("#" + activatedAppID);
|
||||
var input = $("#" + activatedAppID);
|
||||
input.prop("checked", true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user