get rid of lockOrigin backwards compatibility
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user