aboutsummaryrefslogtreecommitdiff
path: root/docs/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-08-23 13:35:22 -0700
committerMark Otto <[email protected]>2014-08-23 13:35:22 -0700
commit4fc96e802950cb7fe9aa0580203992f2c467afe5 (patch)
tree700d9a3b783360310154b0bed741819e6183f32c /docs/dist/js/bootstrap.js
parentf36e1c467c6d3080179de69a15641e9725ce636e (diff)
downloadbootstrap-4fc96e802950cb7fe9aa0580203992f2c467afe5.tar.xz
bootstrap-4fc96e802950cb7fe9aa0580203992f2c467afe5.zip
grunt
Diffstat (limited to 'docs/dist/js/bootstrap.js')
-rw-r--r--docs/dist/js/bootstrap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dist/js/bootstrap.js b/docs/dist/js/bootstrap.js
index ed3e96f36..0b332225f 100644
--- a/docs/dist/js/bootstrap.js
+++ b/docs/dist/js/bootstrap.js
@@ -635,7 +635,7 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
var data = $this.data('bs.collapse')
var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
- if (!data && options.toggle && option == 'show') option = !option
+ if (!data && options.toggle && option == 'show') options.toggle = false
if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
if (typeof option == 'string') data[option]()
})