From 350a2cdc1231be6308ddf1c0fda4252fcbd956d0 Mon Sep 17 00:00:00 2001 From: binsky Date: Fri, 12 Mar 2021 00:58:06 +0100 Subject: fix deprecated tooltip('fixTitle') jquery call --- js/app/directives/tooltip.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/app') diff --git a/js/app/directives/tooltip.js b/js/app/directives/tooltip.js index c9c3ce77..c9fc6f59 100644 --- a/js/app/directives/tooltip.js +++ b/js/app/directives/tooltip.js @@ -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 @@ } }; }]); -}()); \ No newline at end of file +}()); -- cgit v1.2.3