fix fix fix
authorJeremy Tan <[email protected]>
Sat, 19 Oct 2013 07:01:33 +0000 (15:01 +0800)
committerJeremy Tan <[email protected]>
Sat, 19 Oct 2013 07:01:33 +0000 (15:01 +0800)
testing/MCTXWeb/public_html/graph.html

index 92539f2..b7d87f1 100644 (file)
     <link rel="stylesheet" type="text/css" href="static/style.css">
     <link rel="stylesheet" type="text/css" href="static/nav-menu.css">
     <script type="text/javascript">
-      runBeforeLoad().done(function() {
+      runBeforeLoad().always(function() {
         $(document).ready(function() {
-          //nothing for now
-        }).always(function() {
-          $(document).ready(function() {
-            $("#graph-controls").setDevices();
-          });
+          $("#graph-controls").setDevices();
         });
       });
 

UCC git Repository :: git.ucc.asn.au