Get variable name right in commented usercontent code

This commit is contained in:
David Baker 2018-04-26 10:12:50 +01:00
parent 1fa6f63b0d
commit e26c3f3dc9

View file

@ -111,7 +111,7 @@ Tinter.registerTintable(updateTintedDownloadImage);
// if (parts[0] == 'origin') lockOrigin = decodeURIComponent(parts[1]); // if (parts[0] == 'origin') lockOrigin = decodeURIComponent(parts[1]);
// } // }
// window.onmessage=function(e){ // 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> // </script></head><body></body></html>
// //