Fix bug 382. Simplify resizing by not recreating everything from scratch. This makes...
[dygraphs.git] / tests / is-zoomed.html
index a9bdeb5..4b9bb92 100644 (file)
@@ -33,7 +33,7 @@
       <div class="codeoutput" style="float:left;">
       <div id="zoomdiv"></div>
       <script type="text/javascript">
-        new Dygraph(
+        var g = new Dygraph(
   
         // containing div
         document.getElementById("zoomdiv"),
@@ -90,7 +90,7 @@
 </pre>
     </p>
   
-    <p>The <a href="tests/zoom.html">Tests for zoom operations</a> show a full example of this in action.</p>
+    <p>The <a href="zoom.html">Tests for zoom operations</a> show a full example of this in action.</p>
   
     <h3>Programmatic Zoom</h3>
     <p>