1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-10-01 15:56:45 +02: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

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`