diff options
| author | Mark Otto <[email protected]> | 2012-02-26 23:16:11 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-02-26 23:16:11 -0800 |
| commit | 1a781a707e0785a1abd079a9c29628b0d8d1867d (patch) | |
| tree | a38c6b8485d24e8df50ede805084ba083e2df9a0 /js/bootstrap-tooltip.js | |
| parent | ccf7697185488850e7450bfb05092bebc2004084 (diff) | |
| parent | 43760eb2029c73b6be6b0dbeb753be1e247697d9 (diff) | |
| download | bootstrap-1a781a707e0785a1abd079a9c29628b0d8d1867d.tar.xz bootstrap-1a781a707e0785a1abd079a9c29628b0d8d1867d.zip | |
Merge branch '2.0.2-wip' of github.com:twitter/bootstrap into 2.0.2-wip
Conflicts:
docs/assets/bootstrap.zip
Diffstat (limited to 'js/bootstrap-tooltip.js')
| -rw-r--r-- | js/bootstrap-tooltip.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-tooltip.js b/js/bootstrap-tooltip.js index d76e51e8c..e7bfd09bf 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 } |
