diff options
author | Mario <mario@mariovavti.com> | 2020-10-16 10:29:24 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-10-16 10:29:24 +0000 |
commit | 9c6446edbec6d8c4b275008de1b311d96adb329c (patch) | |
tree | 8a13594181e56c6d87d1373caf1599adec7b2b5e /view/js/main.js | |
parent | d84f0030beaf353b3bd3e02e21019663988227ef (diff) | |
download | volse-hubzilla-9c6446edbec6d8c4b275008de1b311d96adb329c.tar.gz volse-hubzilla-9c6446edbec6d8c4b275008de1b311d96adb329c.tar.bz2 volse-hubzilla-9c6446edbec6d8c4b275008de1b311d96adb329c.zip |
fix image src issue in template
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js index 29f7ed7ca..dbaa9a360 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1867,7 +1867,8 @@ function sse_handleNotifications(obj, replace, followup) { } function sse_handleNotificationsItems(notifyType, data, replace, followup) { - var notifications_tpl = ((notifyType == 'forums') ? decodeURIComponent($("#nav-notifications-forums-template[rel=template]").html()) : decodeURIComponent($("#nav-notifications-template[rel=template]").html())); + + var notifications_tpl = ((notifyType == 'forums') ? decodeURIComponent($("#nav-notifications-forums-template[rel=template]").html().replace('data-src', 'src')) : decodeURIComponent($("#nav-notifications-template[rel=template]").html().replace('data-src', 'src'))); var notify_menu = $("#nav-" + notifyType + "-menu"); var notify_loading = $("#nav-" + notifyType + "-loading"); var notify_count = $("." + notifyType + "-update"); |