diff options
author | Jacob Thornton <jacobthornton@gmail.com> | 2012-02-25 10:17:36 +0400 |
---|---|---|
committer | Jacob Thornton <jacobthornton@gmail.com> | 2012-02-25 10:17:36 +0400 |
commit | 43760eb2029c73b6be6b0dbeb753be1e247697d9 (patch) | |
tree | af501404721f52023cd94140e9a0c6b042449a81 /js | |
parent | fb74018ae293588db84c6fbf2f4f07aa4da21c5e (diff) |
fix for @pamelafox and #1861
Diffstat (limited to 'js')
-rw-r--r-- | js/bootstrap-tooltip.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-tooltip.js b/js/bootstrap-tooltip.js index d76e51e8c9..e7bfd09bf2 100644 --- a/js/bootstrap-tooltip.js +++ b/js/bootstrap-tooltip.js @@ -206,7 +206,7 @@ title = $e.attr('data-original-title') || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title) - title = title.toString().replace(/(^\s*|\s*$)/, "") + title = (title || '').toString().replace(/(^\s*|\s*$)/, "") return title } |