get rid of lockOrigin backwards compatibility

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-02-19 12:44:46 +00:00
parent 8ea13d9b57
commit 4da5f32764
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ function remoteSetTint(event) {
} }
window.onmessage = function(e) { window.onmessage = function(e) {
if (lockOrigin === undefined || e.origin === lockOrigin) { if (e.origin === lockOrigin) {
if (e.data.blob) remoteRender(e); if (e.data.blob) remoteRender(e);
else remoteSetTint(e); else remoteSetTint(e);
} }