Skip to content

Commit

Permalink
Fixed undefined is_moz (#80)
Browse files Browse the repository at this point in the history
Uncaught ReferenceError: is_moz is not defined
  • Loading branch information
belomaxorka committed Mar 31, 2023
1 parent 4a79de1 commit 819121b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion styles/templates/admin/admin_ug_auth.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 819121b

Please sign in to comment.