mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
Get variable name right in commented usercontent code
This commit is contained in:
parent
1fa6f63b0d
commit
e26c3f3dc9
@ -111,7 +111,7 @@ Tinter.registerTintable(updateTintedDownloadImage);
|
||||
// if (parts[0] == 'origin') lockOrigin = decodeURIComponent(parts[1]);
|
||||
// }
|
||||
// window.onmessage=function(e){
|
||||
// if (lockOrigin === undefined || event.origin === lockOrigin) eval("("+e.data.code+")")(e);
|
||||
// if (lockOrigin === undefined || e.origin === lockOrigin) eval("("+e.data.code+")")(e);
|
||||
// }
|
||||
// </script></head><body></body></html>
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user