From bc96c0dc013d2f61b1772f76b01fafc495ff2d99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Fr=C3=B6hle?= Date: Mon, 18 Feb 2019 21:42:57 +0100 Subject: [PATCH] setTimeout to 500 police sprechwunsch handler --- dist/autoloader.js | 2 +- dist/autoloaderV2.js | 4 ++-- src/autoloaderV2.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/autoloader.js b/dist/autoloader.js index 4d2fb67..fa48b2a 100755 --- a/dist/autoloader.js +++ b/dist/autoloader.js @@ -1,4 +1,4 @@ -/*Generated on:Mon Feb 18 2019 21:40:31 GMT+0100 (CET)*/ +/*Generated on:Mon Feb 18 2019 21:42:57 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 32c94d1..833fe37 100644 --- a/dist/autoloaderV2.js +++ b/dist/autoloaderV2.js @@ -1,4 +1,4 @@ -/*Generated on:Mon Feb 18 2019 21:40:31 GMT+0100 (CET)*/ +/*Generated on:Mon Feb 18 2019 21:42:57 GMT+0100 (CET)*/ /* * Dexie.js - a minimalistic wrapper for IndexedDB * =============================================== @@ -18437,7 +18437,7 @@ let MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1); // console.log('Check_Call_Police_Active', MissionID) self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => { - tellParent(`console.log('sprechwunsch:${window.name}:${MissionID}');setTimeout(function(){ window.AutomaticDisposeCall.FreeIframe('adis-sprechwunsch-police-frame');},250);`); + tellParent(`console.log('sprechwunsch:${window.name}:${MissionID}');setTimeout(function(){ window.AutomaticDisposeCall.FreeIframe('adis-sprechwunsch-police-frame');},500);`); }); } } diff --git a/src/autoloaderV2.js b/src/autoloaderV2.js index 4e43922..38251db 100644 --- a/src/autoloaderV2.js +++ b/src/autoloaderV2.js @@ -638,7 +638,7 @@ let MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1); // console.log('Check_Call_Police_Active', MissionID) self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => { - tellParent(`console.log('sprechwunsch:${window.name}:${MissionID}');setTimeout(function(){ window.AutomaticDisposeCall.FreeIframe('adis-sprechwunsch-police-frame');},250);`); + tellParent(`console.log('sprechwunsch:${window.name}:${MissionID}');setTimeout(function(){ window.AutomaticDisposeCall.FreeIframe('adis-sprechwunsch-police-frame');},500);`); }); } }