From e7f05bb8b0d86684b4207bd34215582ec08817d7 Mon Sep 17 00:00:00 2001 From: Eldenroot Date: Sun, 21 Feb 2016 19:20:26 +0100 Subject: [PATCH] Fixes #177 - UCP - check for new alerts #177 All credits @White Neo (Dark Neo) --- jscripts/myalerts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jscripts/myalerts.js b/jscripts/myalerts.js index 37c5d12..8545933 100755 --- a/jscripts/myalerts.js +++ b/jscripts/myalerts.js @@ -28,7 +28,7 @@ module.prototype.getUnreadAlerts = function getUnreadAlerts(event) { event.preventDefault(); $.get('xmlhttp.php?action=getNewAlerts', function (data) { - $('#latestAlertsListing').html(data.template); + $('#latestAlertsListing').prepend(data); }); };