diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-09-03 06:25:16 +0400 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-09-03 06:25:16 +0400 |
commit | af61bf673953cf9c88da72bba6dd81aa44814e8c (patch) | |
tree | 70fea76839c19ad4622034abbe42288fec1c3c29 /assets/javascripts/bootstrap.js | |
parent | ee64428a406674ee20365cabb79b95536d3687f1 (diff) |
rake convert
Diffstat (limited to 'assets/javascripts/bootstrap.js')
-rw-r--r-- | assets/javascripts/bootstrap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/javascripts/bootstrap.js b/assets/javascripts/bootstrap.js index 87c63d7d..637ff16f 100644 --- a/assets/javascripts/bootstrap.js +++ b/assets/javascripts/bootstrap.js @@ -730,7 +730,7 @@ 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]() }) |