aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorYohn <[email protected]>2013-02-06 06:17:48 -0500
committerYohn <[email protected]>2013-02-06 06:17:48 -0500
commitbeb60309d1dc312bbb69ace8c47764af783792bf (patch)
treeef434879af71f58ac281d2dd3feec599fc052a58 /js
parent2fa77bf197050a385e479e1b2e8f61d634499505 (diff)
downloadbootstrap-beb60309d1dc312bbb69ace8c47764af783792bf.tar.xz
bootstrap-beb60309d1dc312bbb69ace8c47764af783792bf.zip
dont remove title attribute part 2
Diffstat (limited to '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 915a87ea8..981319077 100644
--- a/js/bootstrap-tooltip.js
+++ b/js/bootstrap-tooltip.js
@@ -245,7 +245,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', '')
}
}