From 9a2bf77b50868357452973c7acbb93311f98b595 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Fr=C3=B6hle?= Date: Mon, 3 Dec 2018 11:52:25 +0100 Subject: [PATCH] =?UTF-8?q?v2=20up=20aijg9a=C3=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/autoloader.js | 2 +- dist/autoloaderV2.js | 9 +++++---- src/autoloaderV2.js | 7 ++++--- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/dist/autoloader.js b/dist/autoloader.js index 3ca655c..4dfa611 100755 --- a/dist/autoloader.js +++ b/dist/autoloader.js @@ -1,4 +1,4 @@ -/*Generated on:Mon Dec 03 2018 11:50:38 GMT+0100 (CET)*/ +/*Generated on:Mon Dec 03 2018 11:52:24 GMT+0100 (CET)*/ var AutomaticDispose_Branch = "master"; var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/"; var da_lss_adis_time = new Date().getTime(); diff --git a/dist/autoloaderV2.js b/dist/autoloaderV2.js index 8fcdc2c..f2e5863 100644 --- a/dist/autoloaderV2.js +++ b/dist/autoloaderV2.js @@ -1,4 +1,4 @@ -/*Generated on:Mon Dec 03 2018 11:50:38 GMT+0100 (CET)*/ +/*Generated on:Mon Dec 03 2018 11:52:24 GMT+0100 (CET)*/ /* * Dexie.js - a minimalistic wrapper for IndexedDB * =============================================== @@ -18936,12 +18936,13 @@ class AutomaticDispose { // TODO check cars driving or already there if (self.MissionConfig.share){ - let elem = $('#vehicle_show_table_all tr input[type="checkbox"]:checked') - for (let i = 0; i < elem.length; i++) { + let elems = $('#vehicle_show_table_all tr input[type="checkbox"]:checked') + console.log(elems) + for (let i = 0; i < elems.length; i++) { if (i === 0) { continue; } - $(elem[i]).click(); + elems[i].click(); } } diff --git a/src/autoloaderV2.js b/src/autoloaderV2.js index f53a5f7..9961e50 100644 --- a/src/autoloaderV2.js +++ b/src/autoloaderV2.js @@ -1344,12 +1344,13 @@ class AutomaticDispose { // TODO check cars driving or already there if (self.MissionConfig.share){ - let elem = $('#vehicle_show_table_all tr input[type="checkbox"]:checked') - for (let i = 0; i < elem.length; i++) { + let elems = $('#vehicle_show_table_all tr input[type="checkbox"]:checked') + console.log(elems) + for (let i = 0; i < elems.length; i++) { if (i === 0) { continue; } - $(elem[i]).click(); + elems[i].click(); } }