diff --git a/src/components/views/messages/MFileBody.js b/src/components/views/messages/MFileBody.js index c5a01721d3..bd8a220571 100644 --- a/src/components/views/messages/MFileBody.js +++ b/src/components/views/messages/MFileBody.js @@ -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); // } // //