From d42a998e49ca42696022316a8a527c39fc2fdf57 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 25 Jun 2021 06:24:46 +0000 Subject: strip html tags from notification message --- view/js/mod_hq.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'view/js') diff --git a/view/js/mod_hq.js b/view/js/mod_hq.js index 7583a4ddd..87d9f1ef3 100644 --- a/view/js/mod_hq.js +++ b/view/js/mod_hq.js @@ -13,6 +13,7 @@ $(document).ready(function() { }); $(document).on('hz:handleNetworkNotificationsItems', function(e, obj) { - push_notification(obj.message, obj.name); + push_notification($('

' + obj.message + '

').text(), obj.name); }); + }); -- cgit v1.2.3