]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix for @pamelafox and #1861
authorJacob Thornton <jacobthornton@gmail.com>
Sat, 25 Feb 2012 06:17:36 +0000 (22:17 -0800)
committerJacob Thornton <jacobthornton@gmail.com>
Sat, 25 Feb 2012 06:17:36 +0000 (22:17 -0800)
docs/assets/bootstrap.zip
js/bootstrap-tooltip.js

index fd5b621d78c95b04bfc45324f46ddf9ec6f3b918..a61ae844d8be54af49c26505ddac5da82ae5c031 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index d76e51e8c9179784591d60893ae3d5bb7b834e1b..e7bfd09bf2bcae90fd999b0002aa984cd6e06204 100644 (file)
       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
     }