diff options
| author | fat <[email protected]> | 2013-02-05 21:08:56 -0800 |
|---|---|---|
| committer | fat <[email protected]> | 2013-02-05 21:08:56 -0800 |
| commit | a4b31d39a26bf493d60d4aaadddd19996966e43c (patch) | |
| tree | a4123846f514a37ca0a82da9dbbe64fcc87fbc54 /js | |
| parent | a866a51a2ecac07748501f0375a324ebb57002f2 (diff) | |
| download | bootstrap-a4b31d39a26bf493d60d4aaadddd19996966e43c.tar.xz bootstrap-a4b31d39a26bf493d60d4aaadddd19996966e43c.zip | |
don't hide if already hidden ya n00b
Diffstat (limited to 'js')
| -rw-r--r-- | js/bootstrap-collapse.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-collapse.js b/js/bootstrap-collapse.js index 20b2eb90a..7bbad8e43 100644 --- a/js/bootstrap-collapse.js +++ b/js/bootstrap-collapse.js @@ -72,7 +72,7 @@ , hide: function () { var dimension - if (this.transitioning) return + if (this.transitioning || !this.$element.hasClass('in')) return dimension = this.dimension() this.reset(this.$element[dimension]()) this.transition('removeClass', $.Event('hide'), 'hidden') |
