forked from Alex/Pterodactyl-Panel
Merge pull request #534 from ET-Bent/patch-1
Fix terminal scrolling and terminalNotify
This commit is contained in:
commit
e2521404b9
@ -116,7 +116,7 @@ $(document).ready(function () {
|
||||
});
|
||||
|
||||
$terminal.on('scroll', function () {
|
||||
if ($(this).scrollTop() + $(this).innerHeight() < $(this)[0].scrollHeight) {
|
||||
if ($(this).scrollTop() + $(this).innerHeight() + 50 < $(this)[0].scrollHeight) {
|
||||
$scrollNotify.removeClass('hidden');
|
||||
} else {
|
||||
$scrollNotify.addClass('hidden');
|
||||
|
Loading…
Reference in New Issue
Block a user