diff options
author | Mario <mario@mariovavti.com> | 2021-05-28 09:58:18 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-05-28 09:58:18 +0000 |
commit | 19bb96121b852d9bb3eb879cd7fe903e77805c4a (patch) | |
tree | 7508a80fcee129d3900c922c702ffc06b1defaa6 /view | |
parent | 69ef7cf1680cebed3512e918de30c09ac9ce0be4 (diff) | |
download | volse-hubzilla-19bb96121b852d9bb3eb879cd7fe903e77805c4a.tar.gz volse-hubzilla-19bb96121b852d9bb3eb879cd7fe903e77805c4a.tar.bz2 volse-hubzilla-19bb96121b852d9bb3eb879cd7fe903e77805c4a.zip |
move mark notifications read code to mod notifications
Diffstat (limited to 'view')
-rw-r--r-- | view/js/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js index a20c82593..0897fbd21 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -537,7 +537,7 @@ function closeMenu(theID) { } function markRead(notifType) { - $.get('ping?f=&markRead='+notifType); + $.get('notifications?f=&markRead='+notifType); $('.' + notifType + '-button').fadeOut(function() { $("." + notifType + "-update").html('0'); $('#nav-' + notifType + '-menu').html(''); @@ -548,7 +548,7 @@ function markRead(notifType) { } function markItemRead(itemId) { - $.get('ping?f=&markItemRead='+itemId); + $.get('notifications?f=&markItemRead='+itemId); $('.unseen-wall-indicator-'+itemId).remove(); } |