From d447e460c0b079b9892b9d17219fc24fd66cd1c7 Mon Sep 17 00:00:00 2001 From: dongpd Date: Wed, 4 Nov 2020 17:30:48 +0700 Subject: [PATCH] =?UTF-8?q?thay=20=C4=91=E1=BB=95i=20logs=20=C4=91?= =?UTF-8?q?=E1=BB=93ng=20b=E1=BB=99=20t=E1=BB=AB=20append=20sang=20prepend?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/js/device.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/js/device.js b/web/js/device.js index 7b6b6f01..be899fd2 100644 --- a/web/js/device.js +++ b/web/js/device.js @@ -453,7 +453,7 @@ function syncLogs(data) { success: function (data) { var html = ""; html = " Đồng bộ thành công " + data.totals + " sự kiện từ thiết bị " + data.IP + ".
"; - $("#logs-response").append(html); + $("#logs-response").prepend(html); progressLogs++; var percent = parseInt(progressLogs / totalsLogs * 100); $("#progress").attr("aria-valuenow", percent);