BUGFIX: error in javascript, sickness didn't get cleared
authorArun Persaud <arun@nubati.net>
Mon, 14 Jul 2008 03:36:43 +0000 (20:36 -0700)
committerArun Persaud <arun@nubati.net>
Mon, 14 Jul 2008 03:36:43 +0000 (20:36 -0700)
forgot to run a loop, so that it includes the sickness trick (trick0)

Signed-off-by: Arun Persaud <arun@nubati.net>
include/output.php

index 827273954d6247fc6f75d463a6e710fc5a4a85da..0c75173e0c0091ed8e2ec3498069c1e8e8dba677 100644 (file)
@@ -276,7 +276,7 @@ function output_header()
        function hl(num) {
          if(document.getElementById){
           var i;
-          for(i=1;i<14;i++){
+          for(i=0;i<14;i++){
             if(document.getElementById("trick"+i))
               document.getElementById("trick"+i).style.display = 'none';
           }