aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/js
diff options
context:
space:
mode:
authorDominic Barnes <[email protected]>2012-02-25 21:21:05 -0600
committerDominic Barnes <[email protected]>2012-02-25 21:21:05 -0600
commit0a8efd5320dca80ad911c2d5e4a9404a010ff78e (patch)
tree41f25c45317bf93d45dcaed907b2865bb842ed08 /docs/assets/js
parent43760eb2029c73b6be6b0dbeb753be1e247697d9 (diff)
downloadbootstrap-0a8efd5320dca80ad911c2d5e4a9404a010ff78e.tar.xz
bootstrap-0a8efd5320dca80ad911c2d5e4a9404a010ff78e.zip
Adding a 'horizontal' option to description lists, similar to .form-horizontal
Diffstat (limited to 'docs/assets/js')
-rw-r--r--docs/assets/js/bootstrap-tooltip.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/assets/js/bootstrap-tooltip.js b/docs/assets/js/bootstrap-tooltip.js
index d76e51e8c..e7bfd09bf 100644
--- a/docs/assets/js/bootstrap-tooltip.js
+++ b/docs/assets/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
}