Fossil SCM

Fix coding typos from the previous commit.

florian 2019-05-20 09:45 tooltip-experiments
Commit b4f1eb9043692a287c491fe7b510c7389e40c0757ee78539b2d7027ad4566656
1 file changed +2 -2
+2 -2
--- src/graph.js
+++ src/graph.js
@@ -122,11 +122,11 @@
122122
this.tooltipInfo.posX,
123123
this.tooltipInfo.posY);
124124
}.bind(window),tooltipInfo.dwellTimeout);
125125
}
126126
else
127
- tooltipInfo.ix = -1;
127
+ tooltipInfo.ixElement = -1;
128128
};
129129
topObj.onmouseleave = function(e) {
130130
/* Hide the tooltip if the mouse is outside the "timelineTableN" element,
131131
** and outside the tooltip. */
132132
if (tooltipObj.style.display != "none" &&
@@ -136,11 +136,11 @@
136136
/* Clear the dwell timer. */
137137
if (tooltipInfo.idTimer != 0) {
138138
clearTimeout(tooltipInfo.idTimer);
139139
tooltipInfo.idTimer = 0;
140140
}
141
- tooltipInfo.ix = -1;
141
+ tooltipInfo.ixElement = -1;
142142
}
143143
};
144144
var canvasDiv;
145145
var railPitch;
146146
var mergeOffset;
147147
--- src/graph.js
+++ src/graph.js
@@ -122,11 +122,11 @@
122 this.tooltipInfo.posX,
123 this.tooltipInfo.posY);
124 }.bind(window),tooltipInfo.dwellTimeout);
125 }
126 else
127 tooltipInfo.ix = -1;
128 };
129 topObj.onmouseleave = function(e) {
130 /* Hide the tooltip if the mouse is outside the "timelineTableN" element,
131 ** and outside the tooltip. */
132 if (tooltipObj.style.display != "none" &&
@@ -136,11 +136,11 @@
136 /* Clear the dwell timer. */
137 if (tooltipInfo.idTimer != 0) {
138 clearTimeout(tooltipInfo.idTimer);
139 tooltipInfo.idTimer = 0;
140 }
141 tooltipInfo.ix = -1;
142 }
143 };
144 var canvasDiv;
145 var railPitch;
146 var mergeOffset;
147
--- src/graph.js
+++ src/graph.js
@@ -122,11 +122,11 @@
122 this.tooltipInfo.posX,
123 this.tooltipInfo.posY);
124 }.bind(window),tooltipInfo.dwellTimeout);
125 }
126 else
127 tooltipInfo.ixElement = -1;
128 };
129 topObj.onmouseleave = function(e) {
130 /* Hide the tooltip if the mouse is outside the "timelineTableN" element,
131 ** and outside the tooltip. */
132 if (tooltipObj.style.display != "none" &&
@@ -136,11 +136,11 @@
136 /* Clear the dwell timer. */
137 if (tooltipInfo.idTimer != 0) {
138 clearTimeout(tooltipInfo.idTimer);
139 tooltipInfo.idTimer = 0;
140 }
141 tooltipInfo.ixElement = -1;
142 }
143 };
144 var canvasDiv;
145 var railPitch;
146 var mergeOffset;
147

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button