Skip to content

Commit e252140

Browse files
authored
Merge pull request pterodactyl#534 from ET-Bent/patch-1
Fix terminal scrolling and terminalNotify
2 parents db2a804 + 4f2dd51 commit e252140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/themes/pterodactyl/js/frontend/console.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ $(document).ready(function () {
116116
});
117117

118118
$terminal.on('scroll', function () {
119-
if ($(this).scrollTop() + $(this).innerHeight() < $(this)[0].scrollHeight) {
119+
if ($(this).scrollTop() + $(this).innerHeight() + 50 < $(this)[0].scrollHeight) {
120120
$scrollNotify.removeClass('hidden');
121121
} else {
122122
$scrollNotify.addClass('hidden');

0 commit comments

Comments
 (0)