projects
/
quanweb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prevent tooltips from displaying when the mouse is over the search or paging controllers.
[quanweb.git]
/
js
/
ToolTip.js
diff --git
a/js/ToolTip.js
b/js/ToolTip.js
index 0311444416128ed589d57dc27f7449d8b686cd82..5e88238f91eaf13ba40d29c262d4ca47363fa3b2 100644
(file)
--- a/
js/ToolTip.js
+++ b/
js/ToolTip.js
@@
-46,10
+46,11
@@
var ToolTip = (function () {
var deltaX = Math.abs(x - mousePos.x);
var deltaY = Math.abs(y - mousePos.y);
var deltaX = Math.abs(x - mousePos.x);
var deltaY = Math.abs(y - mousePos.y);
-
- if (
deltaX > threshold
- ||
deltaY > threshold
)
+
+ if (
(deltaX > threshold)
+ ||
(deltaY > threshold)
)
{
{
+ my.stopTooltipTimer();
my.hideDetails();
}
};
my.hideDetails();
}
};
@@
-104,7
+105,6
@@
var ToolTip = (function () {
clearTimeout(timer);
timer = undefined;
clearTimeout(timer);
timer = undefined;
- my.hideDetails();
};
// ===============
};
// ===============