Fixed undefined is_moz (#80)

Uncaught ReferenceError: is_moz is not defined
This commit is contained in:
Roman Kelesidis 2023-04-01 00:09:57 +07:00 committed by GitHub
parent 4a79de1301
commit 819121b667
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,7 +190,7 @@ if (tCont.offsetHeight > document.body.clientHeight) {
tCont.style.height = document.body.clientHeight;
}
if (is_moz) {
if ($.browser.mozilla) {
if (tBody.offsetHeight > document.body.clientHeight - 65) {
tBody.style.height = document.body.clientHeight - 65;
}