diff --git a/web_src/js/features/cloudbrainShow.js b/web_src/js/features/cloudbrainShow.js index 282a6b706..a6a2578c6 100644 --- a/web_src/js/features/cloudbrainShow.js +++ b/web_src/js/features/cloudbrainShow.js @@ -14,7 +14,7 @@ export default async function initCloudrainSow() { }; } - function logScroll(version_name, repoPath, ID, max = "", lines = 50) { + function logScroll(version_name, repoPath, ID, max = "", lines = 60) { console.log("----------"); let container = document.querySelector(`#log${max}${version_name}`); let scrollTop = container.scrollTop; @@ -143,7 +143,7 @@ export default async function initCloudrainSow() { function logTop(e) { let max = e.currentTarget.getAttribute("data-max") || ""; - let lines = !!max ? 100 : 50; + let lines = !!max ? 100 : 60; let version_name = $(this).data("version"); let logContentDom = document.querySelector(`#log${max}${version_name}`); let ID = $(`#accordion${version_name}`).data("jobid"); @@ -191,7 +191,7 @@ export default async function initCloudrainSow() { } function logBottom(e) { let max = e.currentTarget.getAttribute("data-max") || ""; - let lines = !!max ? 100 : 50; + let lines = !!max ? 100 : 60; let version_name = $(this).data("version"); let logContentDom = document.querySelector(`#log${max}${version_name}`); let ID = $(`#accordion${version_name}`).data("jobid"); @@ -339,7 +339,7 @@ export default async function initCloudrainSow() { let startLine = $( `#log${version_name} input[name=start_line-max-copy]` ).val(); - $(`#log-file-max${version_name}`).siblings("pre").remove(); + $(`#log_file-max${version_name}`).siblings("pre").remove(); $(`#log${version_name} input[name=start_line-max]`).val(startLine); $(".log-scroll-max").unbind("scroll");