aboutsummaryrefslogtreecommitdiff
path: root/js/bootstrap-tooltip.js
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-03-21 21:35:02 -0700
committerJacob Thornton <[email protected]>2012-03-21 21:35:02 -0700
commitd5fb653914617d63739142f6ecef00afd4d3c796 (patch)
treec6b0e82ad1b0a7245882a81e7e7387406dfd6f49 /js/bootstrap-tooltip.js
parent663e41d74f6369812da29a1dd66b0b1fcfd22827 (diff)
downloadbootstrap-d5fb653914617d63739142f6ecef00afd4d3c796.tar.xz
bootstrap-d5fb653914617d63739142f6ecef00afd4d3c796.zip
top stripping leading and trailing whitespace + always use .html method
Diffstat (limited to 'js/bootstrap-tooltip.js')
-rw-r--r--js/bootstrap-tooltip.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/js/bootstrap-tooltip.js b/js/bootstrap-tooltip.js
index 49b5f7286..2b5f146b1 100644
--- a/js/bootstrap-tooltip.js
+++ b/js/bootstrap-tooltip.js
@@ -206,8 +206,6 @@
title = $e.attr('data-original-title')
|| (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
- title = (title || '').toString().replace(/(^\s*|\s*$)/, "")
-
return title
}