2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-30 15:24:08 +03:00

Unbreak lines. (#32304)

This commit is contained in:
XhmikosR
2020-12-02 06:45:15 +02:00
committed by GitHub
parent f05d64225d
commit 701c6c6e77
9 changed files with 32 additions and 69 deletions
+2 -4
View File
@@ -124,8 +124,7 @@ class Collapse extends BaseComponent {
}
show() {
if (this._isTransitioning ||
this._element.classList.contains(CLASS_NAME_SHOW)) {
if (this._isTransitioning || this._element.classList.contains(CLASS_NAME_SHOW)) {
return
}
@@ -212,8 +211,7 @@ class Collapse extends BaseComponent {
}
hide() {
if (this._isTransitioning ||
!this._element.classList.contains(CLASS_NAME_SHOW)) {
if (this._isTransitioning || !this._element.classList.contains(CLASS_NAME_SHOW)) {
return
}