Prevent tooltips from displaying when the mouse is over the search or paging controllers.
[quanweb.git] / js / ToolTip.js
index 0311444416128ed589d57dc27f7449d8b686cd82..5e88238f91eaf13ba40d29c262d4ca47363fa3b2 100644 (file)
@@ -46,10 +46,11 @@ var ToolTip = (function () {
         
         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();
         }
     };
@@ -104,7 +105,6 @@ var ToolTip = (function () {
         
         clearTimeout(timer);
         timer = undefined;
-        my.hideDetails();
     };
     
     // ===============