Roo/bootstrap/Tooltip.js
authoredward <edward@roojs.com>
Wed, 2 Aug 2017 06:10:42 +0000 (14:10 +0800)
committeredward <edward@roojs.com>
Wed, 2 Aug 2017 06:10:42 +0000 (14:10 +0800)
Roo/bootstrap/Tooltip.js

index 4bfc1be..c75415e 100644 (file)
@@ -260,7 +260,7 @@ Roo.extend(Roo.bootstrap.Tooltip, Roo.bootstrap.Component,  {
             
             var scroll = Roo.select('body', true).first().getScroll();
             
-            if(xy[1] < Roo.lib.Dom.getViewHeight() + scroll.top){
+            if(xy[1] > Roo.lib.Dom.getViewHeight() + scroll.top){
                 placement = 'top';
             }