Roo/bootstrap/Popover.js
authorAlan Knowles <alan@roojs.com>
Thu, 20 Feb 2014 09:05:04 +0000 (17:05 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 20 Feb 2014 09:05:04 +0000 (17:05 +0800)
Roo/bootstrap/Popover.js

index 6c62188..38eb28e 100644 (file)
@@ -171,7 +171,7 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
         if (this.html !== false) {
             this.el.select('.popover-content',true).first().dom.innerHtml = this.title;
         }
-        this.el.removeClass('fade top bottom left right in');
+        this.el.removeClass(['fade','top','bottom', 'left', 'right','in']);
         if (!this.title.length) {
             this.el.select('.popover-title',true).hide();
         }