mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
Remove a couple of variables used once
This commit is contained in:
+1
-2
@@ -287,8 +287,7 @@ class Collapse {
|
||||
}
|
||||
|
||||
_getDimension() {
|
||||
const hasWidth = this._element.classList.contains(WIDTH)
|
||||
return hasWidth ? WIDTH : HEIGHT
|
||||
return this._element.classList.contains(WIDTH) ? WIDTH : HEIGHT
|
||||
}
|
||||
|
||||
_getParent() {
|
||||
|
||||
Reference in New Issue
Block a user