get rid of lockOrigin backwards compatibility

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-02-19 12:44:46 +00:00
parent 8ea13d9b57
commit 4da5f32764

View file

@ -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);
}