gui: Fix log-tailing behavior when scrolled to top (fixes #7267) (#7272)

This commit is contained in:
Choongkyu 2021-01-13 11:08:39 -08:00 committed by GitHub
parent 36acaf5e21
commit 83cfd308b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1198,6 +1198,7 @@ angular.module('syncthing.core')
}).error($scope.emitHTTPError);
},
show: function () {
$scope.logging.paused = false;
$scope.logging.refreshFacilities();
$scope.logging.timer = $timeout($scope.logging.fetch);
var textArea = $('#logViewerText');