From 39590472e2d4b743c723883b3824e2d0bdc4a6fa Mon Sep 17 00:00:00 2001 From: Zulfikar Raditya Hernanta Date: Thu, 20 Oct 2016 11:33:33 +0700 Subject: [PATCH] Scan now use prepend for displaying warning feedback --- public/js/scan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/scan.js b/public/js/scan.js index 0434d7a..b860c1d 100644 --- a/public/js/scan.js +++ b/public/js/scan.js @@ -36,7 +36,7 @@ function checkStatusScan() addTime(data.time); for (var i = 0; i < data.warning.length; i++) { - $(".warning_debug").append("
Warning: "+data.warning[i]+"
"); + $(".warning_debug").prepend("
Warning: "+data.warning[i]+"
"); } checkStatusScan(); }