Roo/bootstrap/Popover.js
authorAlan Knowles <alan@roojs.com>
Thu, 20 Feb 2014 08:48:38 +0000 (16:48 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 20 Feb 2014 08:48:38 +0000 (16:48 +0800)
Roo/bootstrap/Popover.js

index e5d15f8..b12b2ce 100644 (file)
@@ -201,7 +201,7 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
             // fixme..
         }
         
-        this.el.alignTo(on_el, placement[0]);
+        this.el.alignTo(on_el, Roo.bootstrap.Popover.alignment[placement]);
         
         this.el.addClass('in');
         this.hoverState = null;