0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

fix for @pamelafox and #1861

This commit is contained in:
Jacob Thornton 2012-02-24 22:17:36 -08:00
parent fb74018ae2
commit 43760eb202
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -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
}