From 43c68d463d90263a868c896998bc92d832642475 Mon Sep 17 00:00:00 2001 From: Abel Coronado Date: Tue, 30 Jan 2018 16:01:13 +0100 Subject: [PATCH] B #1630: Enable Sunstone VM Log Scrollbar at the end of the file (#1695) --- src/sunstone/public/app/tabs/vms-tab/panels/log.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sunstone/public/app/tabs/vms-tab/panels/log.js b/src/sunstone/public/app/tabs/vms-tab/panels/log.js index 2356561a19..7ba5f5ed88 100644 --- a/src/sunstone/public/app/tabs/vms-tab/panels/log.js +++ b/src/sunstone/public/app/tabs/vms-tab/panels/log.js @@ -93,7 +93,7 @@ define(function(require) { colored_log + "" + ""); - $(".vm_log_container", context).animate({scrollTop:"500px"}, "slow"); + $(".vm_log_container", context).animate({scrollTop: $('.vm_log_container').prop("scrollHeight")}, "slow"); }, error: function(request, error_json) {