From: Jacob Thornton Date: Sat, 25 Feb 2012 06:17:36 +0000 (-0800) Subject: fix for @pamelafox and #1861 X-Git-Tag: v2.0.2~98^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=43760eb2029c73b6be6b0dbeb753be1e247697d9;p=thirdparty%2Fbootstrap.git fix for @pamelafox and #1861 --- diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index fd5b621d78..a61ae844d8 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ 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 }