Commit 05f5c62e authored by olau@iola.dk's avatar olau@iola.dk

Fixed missing var declaration causing trouble in IE, reworded interacting example

git-svn-id: https://flot.googlecode.com/svn/trunk@87 1e0a6537-2640-0410-bfb7-f154510ff394
parent 08a5c94f
......@@ -13,8 +13,8 @@
<div id="placeholder" style="width:600px;height:300px"></div>
<p>One of the goals of Flot is to support user interactions intelligently.
Try mousing the above plot.</p>
<p>One of the goals of Flot is to support user interactions. Try
pointing and clicking on the points.</p>
<p id="hoverdata">Mouse hovers at
(<span id="x">0</span>, <span id="y">0</span>). <span id="clickdata"></span></p>
......
......@@ -1601,7 +1601,7 @@
if (y2axis.used)
pos.y2 = y2axis.c2p(canvasY);
item = findNearbyItem(canvasX, canvasY);
var item = findNearbyItem(canvasX, canvasY);
if (item) {
// fill in mouse pos for any listeners out there
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment