From 0a8efd5320dca80ad911c2d5e4a9404a010ff78e Mon Sep 17 00:00:00 2001 From: Dominic Barnes Date: Sat, 25 Feb 2012 21:21:05 -0600 Subject: Adding a 'horizontal' option to description lists, similar to .form-horizontal --- docs/assets/js/bootstrap-tooltip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/assets/js/bootstrap-tooltip.js') 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 } -- cgit v1.2.3