aboutsummaryrefslogtreecommitdiff
path: root/js/bootstrap-tooltip.js
diff options
context:
space:
mode:
authorpseidemann <[email protected]>2013-01-29 22:54:00 +0100
committerpseidemann <[email protected]>2013-01-29 22:54:00 +0100
commitc4eea3abde487567961fccab0d0cafd8bd4a7718 (patch)
tree1c347e809b32eb49b23a42929451e6830a13ab8a /js/bootstrap-tooltip.js
parent558bc52432840ea1b2f413438427164288f10350 (diff)
downloadbootstrap-c4eea3abde487567961fccab0d0cafd8bd4a7718.tar.xz
bootstrap-c4eea3abde487567961fccab0d0cafd8bd4a7718.zip
don't remove title attribute for tooltips
fixes #6445
Diffstat (limited to 'js/bootstrap-tooltip.js')
-rw-r--r--js/bootstrap-tooltip.js2
1 files changed, 1 insertions, 1 deletions
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', '')
}
}