vendor/assets/src/index_opal.html in atome-0.5.5.7.7 vs vendor/assets/src/index_opal.html in atome-0.5.5.8.1

- old
+ new

@@ -23,20 +23,25 @@ <script defer defer src='js/host_mode.js'></script> <script src='js/opal/atome_opal_extensions.js' defer></script> <script src='js/atome/kernel.js' defer></script> <script defer src="js/atome/atome_helpers/communication.js" type="text/javascript"></script> <script defer src="js/atome/atome_helpers/file.js" type="text/javascript"></script> - <script> - // to prevent right click - document.addEventListener("contextmenu", function (e) { - e.preventDefault(); - }); - </script> +<!-- <script>--> +<!-- // to prevent right click--> +<!-- document.addEventListener("contextmenu", function (e) {--> +<!-- e.preventDefault();--> +<!-- });--> +<!-- </script>--> <title>atome</title> </head> <body id='user_view' class='atome'> <div id='copyright'>©atome 2027</div> </body> <script defer src="js/atome/specific/opal.js" type="text/javascript"></script> <script defer src="js/atome/atome.js" type="text/javascript"></script> <script src='js/application.js' defer></script> +<script> + window.addEventListener('load', function () { + Opal.eval('atome_infos') + }) +</script> </html>