Bug #3625 » 0001-Fix-sticky-xhtml-tooltip-and-removal-from-DOM.patch
| src/js/ToolTip.js | ||
|---|---|---|
|
}
|
||
|
this.showToolTip = function() {
|
||
|
clearTimeout(showTimer);
|
||
|
showTimer = null;
|
||
|
if (deferred && !toolTipText && !waitingForText)
|
||
|
loadToolTipText();
|
||
| ... | ... | |
|
x - MouseDistance, y - MouseDistance);
|
||
|
}
|
||
|
checkInt = setInterval(function() { checkIsOver(); }, 200);
|
||
|
if (!checkInt)
|
||
|
checkInt = setInterval(function() { checkIsOver(); }, 200);
|
||
|
}
|
||
|
function hideToolTip() {
|
||
|
clearTimeout(showTimer);
|
||
|
showTimer = null;
|
||
|
if (toolTipEl) {
|
||
|
$(toolTipEl).remove();
|
||
|
$(toolTipEl).parent().remove();
|
||
|
toolTipEl = null;
|
||
|
clearInterval(checkInt);
|
||
|
checkInt = null;
|
||
| ... | ... | |
|
function resetTimer(e) {
|
||
|
clearTimeout(showTimer);
|
||
|
showTimer = null;
|
||
|
coords = WT.pageCoordinates(e);
|
||
|
if (!toolTipEl)
|
||
- « Previous
- 1
- 2
- Next »