Roo/bootstrap/Component.js
[roojs1] / 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){