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:
parent
e58a28fe95
commit
4a6120d69b
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue