Skip to content

Commit

Permalink
Fix IE11 wrapper nonce errors
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed Apr 29, 2016
1 parent 3294f62 commit 95cbc54
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/Ui/media/Wrapper.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ class Wrapper
# Test nonce security to avoid third-party messages
if window.postmessage_nonce_security and message.wrapper_nonce != window.wrapper_nonce
@log "Message nonce error:", message.wrapper_nonce, '!=', window.wrapper_nonce
@actionNotification({"params": ["error", "Message wrapper_nonce error, please report!"]})
window.removeEventListener("message", @onMessageInner)
return

cmd = message.cmd
Expand Down
4 changes: 0 additions & 4 deletions src/Ui/media/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -868,10 +868,6 @@ jQuery.extend( jQuery.easing,
}
if (window.postmessage_nonce_security && message.wrapper_nonce !== window.wrapper_nonce) {
this.log("Message nonce error:", message.wrapper_nonce, '!=', window.wrapper_nonce);
this.actionNotification({
"params": ["error", "Message wrapper_nonce error, please report!"]
});
window.removeEventListener("message", this.onMessageInner);
return;
}
cmd = message.cmd;
Expand Down

0 comments on commit 95cbc54

Please sign in to comment.