0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-29 21:52:22 +01:00

automatic grunt dist

This commit is contained in:
Bootstrap's Grunt bot 2015-03-09 08:11:37 +00:00
parent 21d56378e1
commit c178995b87
2 changed files with 2 additions and 2 deletions

View File

@ -700,7 +700,7 @@ if (typeof jQuery === 'undefined') {
var data = $this.data('bs.collapse')
var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
if (!data && options.toggle && option == 'show') options.toggle = false
if (!data && options.toggle && /show|hide/.test(option)) options.toggle = false
if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
if (typeof option == 'string') data[option]()
})

File diff suppressed because one or more lines are too long