Mercurial > hg > webaudioevaluationtool
diff index.html @ 432:cb2132a83247 Dev_main
Merge. Reload will only generate alert if test is loaded.
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Fri, 18 Dec 2015 18:31:26 +0000 |
parents | 4e5a5a10525f |
children | 9d73d9f6b03e |
line wrap: on
line diff
--- a/index.html Fri Dec 18 18:29:57 2015 +0000 +++ b/index.html Fri Dec 18 18:31:26 2015 +0000 @@ -20,10 +20,6 @@ <script src='core.js'></script> <script src='loudness.js'></script> <script type="text/javascript"> - window.onbeforeunload = function() { - return "Please only leave this page once you have completed the tests. Are you sure you have completed all testing?"; - }; - // SEARCH QUERY: By using the GET Request option ?url=loca/path/to/project.xml in the URL bar, you can load a project quickly if (window.location.search.length != 0) { @@ -40,6 +36,9 @@ } } loadProjectSpec(url); + window.onbeforeunload = function() { + return "Please only leave this page once you have completed the tests. Are you sure you have completed all testing?"; + }; } </script> </head>