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);