mirror of https://github.com/vector-im/riot-web
get rid of lockOrigin backwards compatibility
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
8ea13d9b57
commit
4da5f32764
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue