1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-25 12:59:05 +02:00

top stripping leading and trailing whitespace + always use .html method

This commit is contained in:
Jacob Thornton
2012-03-21 21:35:02 -07:00
parent 663e41d74f
commit d5fb653914
5 changed files with 4 additions and 12 deletions

View File

@@ -206,8 +206,6 @@
title = $e.attr('data-original-title')
|| (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
title = (title || '').toString().replace(/(^\s*|\s*$)/, "")
return title
}