From d68840b68f1c586cce138812f7c2c50a836d9642 Mon Sep 17 00:00:00 2001 From: leon Date: Tue, 27 Sep 2022 12:16:38 +0800 Subject: [PATCH] Roo/bootstrap/Tooltip.js --- Roo/bootstrap/Tooltip.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Roo/bootstrap/Tooltip.js b/Roo/bootstrap/Tooltip.js index 33afec115f..4b544d3fa9 100644 --- a/Roo/bootstrap/Tooltip.js +++ b/Roo/bootstrap/Tooltip.js @@ -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) : -- 2.39.2