Roo/bootstrap/Tooltip.js
authorleon <leon@roojs.com>
Tue, 27 Sep 2022 04:16:38 +0000 (12:16 +0800)
committerleon <leon@roojs.com>
Tue, 27 Sep 2022 04:16:38 +0000 (12:16 +0800)
Roo/bootstrap/Tooltip.js

index 33afec1..4b544d3 100644 (file)
@@ -245,6 +245,8 @@ Roo.extend(Roo.bootstrap.Tooltip, Roo.bootstrap.Component,  {
         
         this.el.removeClass(['fade','top','bottom', 'left', 'right','in',
                              'bs-tooltip-top','bs-tooltip-bottom', 'bs-tooltip-left', 'bs-tooltip-right']);
+
+        this.el.addClass(this.bindEl.attr('tooltip-class'));
         
         var placement = typeof this.placement == 'function' ?
             this.placement.call(this, this.el, on_el) :