mirror of
https://github.com/nextcloud/passman.git
synced 2026-01-20 06:22:55 +08:00
fix deprecated tooltip('fixTitle') jquery call
This commit is contained in:
parent
bf0f5f0086
commit
350a2cdc12
1 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@
|
|||
if (scope.tooltip) {
|
||||
jQuery(el).attr('title', scope.tooltip);
|
||||
jQuery(el).tooltip();
|
||||
jQuery(el).attr('title', scope.tooltip).tooltip('fixTitle');
|
||||
jQuery(el).attr('data-original-title', scope.tooltip);
|
||||
jQuery('.tooltip-inner').text(scope.tooltip); // Dirty hack
|
||||
if (jQuery(el).is(':visible')) {
|
||||
//$(el).tooltip('show')
|
||||
|
|
@ -52,4 +52,4 @@
|
|||
}
|
||||
};
|
||||
}]);
|
||||
}());
|
||||
}());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue