Roo/bootstrap/Tooltip.js
authoredward <edward@roojs.com>
Thu, 25 Feb 2016 06:47:42 +0000 (14:47 +0800)
committeredward <edward@roojs.com>
Thu, 25 Feb 2016 06:47:42 +0000 (14:47 +0800)
Roo/bootstrap/Tooltip.js

index 92b98b6..55be9d9 100644 (file)
@@ -251,6 +251,10 @@ Roo.extend(Roo.bootstrap.Tooltip, Roo.bootstrap.Component,  {
             if(xy[0] < 0){
                 placement = 'right';
             }
+            
+            if(xy[1] < 0){
+                placement = 'right';
+            }
         }
         
         align = Roo.bootstrap.Tooltip.alignment[placement];