Project

General

Profile

Bug #3625 » 0001-Fix-sticky-xhtml-tooltip-and-removal-from-DOM.patch

Bruce Toll, 10/14/2014 07:14 AM

View differences:

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)
(2-2/2)