diff --git a/src/usercontent/index.js b/src/usercontent/index.js index 0648cbb238..b87ccb9dbb 100644 --- a/src/usercontent/index.js +++ b/src/usercontent/index.js @@ -42,7 +42,7 @@ function remoteSetTint(event) { } window.onmessage = function(e) { - if (lockOrigin === undefined || e.origin === lockOrigin) { + if (e.origin === lockOrigin) { if (e.data.blob) remoteRender(e); else remoteSetTint(e); }