From c4eea3abde487567961fccab0d0cafd8bd4a7718 Mon Sep 17 00:00:00 2001 From: pseidemann Date: Tue, 29 Jan 2013 22:54:00 +0100 Subject: don't remove title attribute for tooltips fixes #6445 --- js/bootstrap-tooltip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/bootstrap-tooltip.js') diff --git a/js/bootstrap-tooltip.js b/js/bootstrap-tooltip.js index a08952a4c..cd9cd0913 100644 --- a/js/bootstrap-tooltip.js +++ b/js/bootstrap-tooltip.js @@ -185,7 +185,7 @@ , fixTitle: function () { var $e = this.$element if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') { - $e.attr('data-original-title', $e.attr('title') || '').removeAttr('title') + $e.attr('data-original-title', $e.attr('title') || '').attr('title', '') } } -- cgit v1.2.3