Merge pull request #534 from ET-Bent/patch-1
Fix terminal scrolling and terminalNotify
This commit is contained in:
commit
e2521404b9
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ $(document).ready(function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
$terminal.on('scroll', 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');
|
$scrollNotify.removeClass('hidden');
|
||||||
} else {
|
} else {
|
||||||
$scrollNotify.addClass('hidden');
|
$scrollNotify.addClass('hidden');
|
||||||
|
|
Loading…
Reference in a new issue