Roo/bootstrap/Component.js
authorjohn <john@roojs.com>
Fri, 21 Sep 2018 10:03:26 +0000 (18:03 +0800)
committerjohn <john@roojs.com>
Fri, 21 Sep 2018 10:03:26 +0000 (18:03 +0800)
Roo/bootstrap/Component.js

index 5ba8dc4..173a898 100644 (file)
@@ -131,7 +131,7 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
         this.el = ct.createChild(cfg, position);
         
         if (this.tooltip) {
-            this.tooltipEl().attr('tooltip', this.tooltip);
+            this.tooltipEl().dom.setAttribute('tooltip', this.tooltip);
         }
         
         if(this.tabIndex !== undefined){