Merge pull request #59 from jtanx/master
[matches/MCTX3420.git] / testing / MCTXWeb / public_html / graph.html
index 7b86842..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() {
-        $(document).ready(function() {
-        
-        }).always(function() {
+      runBeforeLoad().always(function() {
         $(document).ready(function() {
           $("#graph-controls").setDevices();
         });
             <input type="button" value="Open New Graph" disabled>
             <input type="button" value="Save Graph Image" id="saveimage">
             <input type="button" value="Dump Raw Data" disabled>
-            <script>
+            <script type="text/javascript">
               $("#saveimage").click(function() {
                 $("canvas").each(function() {
                   var image = new Image();

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