Differences From Artifact [cb910f2c5f]:
- File src/graph.js — part of check-in [0a7ddaba6b] at 2019-05-23 14:45:08 on branch tooltip-experiments — Fix the tooltip positioning on the ardoise skin. (user: drh size: 26175)
To Artifact [5aeefe8073]:
- File src/graph.js — part of check-in [356c0d017e] at 2019-05-23 17:18:56 on branch tooltip-experiments — Hide the tooltip when leaving the page. (user: drh size: 26217)
| ︙ | |||
109 110 111 112 113 114 115 116 117 118 119 120 121 122 | 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | + |
/* Functions used to control the tooltip popup and its timer */
function hideGraphTooltip(){
stopCloseTimer();
tooltipObj.style.display = "none";
tooltipInfo.ixActive = -1;
}
document.body.onunload = hideGraphTooltip
function stopDwellTimer(){
if (tooltipInfo.idTimer != 0) {
clearTimeout(tooltipInfo.idTimer);
tooltipInfo.idTimer = 0;
}
}
function resumeCloseTimer(){
|
| ︙ |