Skip to content

Commit d6d6813

Browse files
XhmikosRysds
authored andcommitted
Update modal.js
1 parent e343f49 commit d6d6813

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

js/src/modal.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,7 @@ class Modal {
416416
return
417417
}
418418

419-
const isModalOverflowing =
420-
this._element.scrollHeight > document.documentElement.clientHeight
419+
const isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight
421420

422421
if (!isModalOverflowing) {
423422
this._element.style.overflowY = 'hidden'

0 commit comments

Comments
 (0)