reload page on end
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 28 Aug 2014 12:59:50 +0000 (14:59 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 28 Aug 2014 12:59:50 +0000 (14:59 +0200)
examples/selfcheck.js

index 4955e54..cca0084 100644 (file)
@@ -54,7 +54,8 @@ function change_page(new_state) {
 
                if ( state == 'end' ) {
                        window.setTimeout(function(){
-                               change_page('start');
+                               //change_page('start');
+                               location.reload(); // force js VM to GC?
                        },end_timeout);
                }