Skip to content

Commit

Permalink
Merge pull request #154 from Martinski4GitHub/master
Browse files Browse the repository at this point in the history
Fixed "missing scrollbar" problem.
  • Loading branch information
Adamm00 authored Jul 26, 2024
2 parents 51c89ce + 3de20fa commit 63ab74e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion firewall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# #
# Router Firewall And Security Enhancements #
# By Adamm - https://github.com/Adamm00/IPSet_ASUS #
# 02/07/2024 - v7.6.1 #
# 26/07/2024 - v7.6.2 #
#############################################################################################################


Expand Down
24 changes: 22 additions & 2 deletions webui/skynet.asp
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,25 @@
}
}
function initial() {
/**-------------------------------------**/
/** Added by Martinski W. [2023-Jul-26] **/
/**-------------------------------------**/
resetOverflowCount = 0;
function ResetBodyStyleOverflow()
{
resetOverflowCount += 1;
let resetOverflowTimeout = (resetOverflowCount <= 10) ? 125 : 5000;
if (document.getElementById('TopDocBody').style.overflow != "auto")
{ document.getElementById('TopDocBody').style.overflow = "auto"; }
setTimeout(ResetBodyStyleOverflow, resetOverflowTimeout);
}
/**----------------------------------------**/
/** Modified by Martinski W. [2023-Jul-26] **/
/**----------------------------------------**/
function initial()
{
show_menu();
$j("#skynet_table_keystats").after(BuildChartHtml("Top 10 Blocked Devices (Outbound)", "TCConnHits", "false"));
Expand Down Expand Up @@ -386,6 +404,8 @@
SetBLCount2();
SetHits1();
SetHits2();
setTimeout(ResetBodyStyleOverflow, 200);
}
Array.prototype.getDuplicates = function() {
Expand Down Expand Up @@ -807,7 +827,7 @@
</script>
</head>

<body onload="initial();">
<body onload="initial();" id="TopDocBody">
<div id="TopBanner"></div>
<div id="Loading" class="popup_bg"></div>
<iframe name="hidden_frame" id="hidden_frame" src="about:blank" width="0" height="0" frameborder="0"></iframe>
Expand Down

0 comments on commit 63ab74e

Please sign in to comment.