2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Unbreak lines and remove a TODO comment

This commit is contained in:
XhmikosR
2020-09-18 10:39:21 +03:00
parent be18957933
commit c86b74fe88
3 changed files with 4 additions and 10 deletions
+1 -2
View File
@@ -453,8 +453,7 @@ class Modal {
// ----------------------------------------------------------------------
_adjustDialog() {
const isModalOverflowing =
this._element.scrollHeight > document.documentElement.clientHeight
const isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight
if (!this._isBodyOverflowing && isModalOverflowing) {
this._element.style.paddingLeft = `${this._scrollbarWidth}px`