diff --git a/app/static/js/script.js b/app/static/js/script.js index 008f25a..be320f8 100644 --- a/app/static/js/script.js +++ b/app/static/js/script.js @@ -152,7 +152,7 @@ function showLog() { file = file_from_get; } } - if (file === undefined || file === null) { + if ((file === undefined || file === null) && waf === '') { toastr.warning('Select a log file first') return false;