MDL-73618 theme_boost: fix drawers tooltips

This commit is contained in:
Ferran Recio
2022-01-19 18:03:17 +01:00
parent a01f1fa71c
commit 664ccecd0a
3 changed files with 3 additions and 2 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -197,6 +197,7 @@ const enableButtonTooltip = (button) => {
// The jQuery is still used in Boostrap 4. It can we removed when MDL-71979 is integrated.
if (button.hasAttribute('data-original-title')) {
jQuery(button).tooltip('enable');
button.removeAttribute('title');
} else if (button.dataset.disabledToggle) {
button.dataset.toggle = button.dataset.disabledToggle;
jQuery(button).tooltip();