setTimeout to 500 police sprechwunsch handler

This commit is contained in:
2019-02-18 21:42:57 +01:00
parent 0a46b04ebd
commit bc96c0dc01
3 changed files with 4 additions and 4 deletions

View File

@@ -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);`);
});
}
}