Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-02-25 10:17:36 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-02-25 10:17:36 +0400
commit43760eb2029c73b6be6b0dbeb753be1e247697d9 (patch)
treeaf501404721f52023cd94140e9a0c6b042449a81 /js
parentfb74018ae293588db84c6fbf2f4f07aa4da21c5e (diff)
fix for @pamelafox and #1861
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 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
}