Skip to content

Commit 59217ba

Browse files
committed
chore: update comments
1 parent bb96a5a commit 59217ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/src/tooltip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ class Tooltip extends BaseComponent {
237237
return
238238
}
239239

240-
// A trick to recreate a tooltip in case a new title is given by using the NOT documented `data-bs-original-title`
240+
// A trick to recreate a tooltip in case a new title is given by using the NOT documented `data-coreui-original-title`
241241
// This will be removed later in favor of a `setContent` method
242242
if (this.constructor.NAME === 'tooltip' && this.tip && this.getTitle() !== this.tip.querySelector(SELECTOR_TOOLTIP_INNER).innerHTML) {
243243
this._disposePopper()

0 commit comments

Comments
 (0)