aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-03-21 21:35:02 -0700
committerJacob Thornton <[email protected]>2012-03-21 21:35:02 -0700
commitd5fb653914617d63739142f6ecef00afd4d3c796 (patch)
treec6b0e82ad1b0a7245882a81e7e7387406dfd6f49 /docs
parent663e41d74f6369812da29a1dd66b0b1fcfd22827 (diff)
downloadbootstrap-d5fb653914617d63739142f6ecef00afd4d3c796.tar.xz
bootstrap-d5fb653914617d63739142f6ecef00afd4d3c796.zip
top stripping leading and trailing whitespace + always use .html method
Diffstat (limited to 'docs')
-rw-r--r--docs/assets/bootstrap.zipbin55902 -> 55797 bytes
-rw-r--r--docs/assets/js/bootstrap-popover.js6
-rw-r--r--docs/assets/js/bootstrap-tooltip.js2
3 files changed, 2 insertions, 6 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip
index b23cd19c9..e6c6aab42 100644
--- a/docs/assets/bootstrap.zip
+++ b/docs/assets/bootstrap.zip
Binary files differ
diff --git a/docs/assets/js/bootstrap-popover.js b/docs/assets/js/bootstrap-popover.js
index e1aa5ac39..6f389785c 100644
--- a/docs/assets/js/bootstrap-popover.js
+++ b/docs/assets/js/bootstrap-popover.js
@@ -38,8 +38,8 @@
, title = this.getTitle()
, content = this.getContent()
- $tip.find('.popover-title')[ $.type(title) == 'object' ? 'append' : 'html' ](title)
- $tip.find('.popover-content > *')[ $.type(content) == 'object' ? 'append' : 'html' ](content)
+ $tip.find('.popover-title').html(title)
+ $tip.find('.popover-content > *').html(content)
$tip.removeClass('fade top bottom left right in')
}
@@ -56,8 +56,6 @@
content = $e.attr('data-content')
|| (typeof o.content == 'function' ? o.content.call($e[0]) : o.content)
- content = content.toString().replace(/(^\s*|\s*$)/, "")
-
return content
}
diff --git a/docs/assets/js/bootstrap-tooltip.js b/docs/assets/js/bootstrap-tooltip.js
index 49b5f7286..2b5f146b1 100644
--- a/docs/assets/js/bootstrap-tooltip.js
+++ b/docs/assets/js/bootstrap-tooltip.js
@@ -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
}