Merge pull request #534 from ET-Bent/patch-1

Fix terminal scrolling and terminalNotify
This commit is contained in:
Dane Everitt 2017-07-06 17:18:26 -10:00 committed by GitHub
commit e2521404b9

View File

@ -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');