get rid of lockOrigin backwards compatibility
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
8ea13d9b57
commit
4da5f32764
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue