Bin dead code

In a script snippet that is inside an m4 ifdef for the non-MOBILEAPP
case the window.ThisIsTheiOSApp can never be true.
This commit is contained in:
Tor Lillqvist 2018-11-09 19:03:07 +02:00
parent e58a28fe95
commit 4a6120d69b

View file

@ -23,10 +23,6 @@ ifelse(MOBILEAPP,[],
var PostMessageReadyListener = function(e) {
var msg = JSON.parse(e.data);
if (msg.MessageId === 'Host_PostmessageReady') {
if (window.ThisIsTheiOSApp) {
// Just for debugging to see that we got it
window.webkit.messageHandlers.debug.postMessage('got Host_PostmessageReady!');
}
window.WOPIPostmessageReady = true;
window.removeEventListener('message', PostMessageReadyListener, false);
}