diff options
| author | XhmikosR <[email protected]> | 2014-04-03 10:53:20 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2014-04-03 10:53:44 +0300 |
| commit | 4c2626fecb60f7f31f248ac10597294f2cd2471b (patch) | |
| tree | 5f9f1fa5532ba644d9e7a78d90181d6b4e70f74e /dist/js/bootstrap.js | |
| parent | 2b30b48894c7e0026939977fcc3aa0721e23bddf (diff) | |
| download | bootstrap-4c2626fecb60f7f31f248ac10597294f2cd2471b.tar.xz bootstrap-4c2626fecb60f7f31f248ac10597294f2cd2471b.zip | |
Run `grunt`.
Diffstat (limited to 'dist/js/bootstrap.js')
| -rw-r--r-- | dist/js/bootstrap.js | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js index 2f0f6d779..2f7258f77 100644 --- a/dist/js/bootstrap.js +++ b/dist/js/bootstrap.js @@ -511,8 +511,7 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re this.$element .removeClass('collapse') - .addClass('collapsing') - [dimension](0) + .addClass('collapsing')[dimension](0) this.transitioning = 1 @@ -520,8 +519,7 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re if (e && e.target != this.$element[0]) return this.$element .removeClass('collapsing') - .addClass('collapse in') - [dimension]('auto') + .addClass('collapse in')[dimension]('auto') this.transitioning = 0 this.$element.trigger('shown.bs.collapse') } @@ -532,8 +530,7 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re this.$element .one($.support.transition.end, $.proxy(complete, this)) - .emulateTransitionEnd(350) - [dimension](this.$element[0][scrollSize]) + .emulateTransitionEnd(350)[dimension](this.$element[0][scrollSize]) } Collapse.prototype.hide = function () { @@ -545,9 +542,7 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re var dimension = this.dimension() - this.$element - [dimension](this.$element[dimension]()) - [0].offsetHeight + this.$element[dimension](this.$element[dimension]())[0].offsetHeight this.$element .addClass('collapsing') |
