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

index fada007..b7afe3e 100644 (file)
@@ -203,7 +203,7 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
         var align = Roo.bootstrap.Popover.alignment[placement]
         this.el.alignTo(on_el, align[0],align[1]);
         var arrow = this.el.select('.arrow').first();
-        arrow.setClass(align[2]);
+        arrow.dom.className = align[2];
         
         this.el.addClass('in');
         this.hoverState = null;