Fix: IE10 bug - DOCTYPE, IE=Edge, let -> var

This commit is contained in:
2018-11-20 13:52:23 +09:00
parent f2669ed5ca
commit 6b7c6c87b5
37 changed files with 136 additions and 47 deletions
@@ -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);
}
}