diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-12-18 12:46:37 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-12-18 12:46:37 +0100 |
commit | fe960d7c28e89240902293ba064d452b92d7d27a (patch) | |
tree | 7b24d6b842bda44396060d5ccf88e51ce2796964 /view/tpl/notifications_widget.tpl | |
parent | 07b628b6673c31a614d944cd167a6ff280ec6bdc (diff) | |
download | volse-hubzilla-fe960d7c28e89240902293ba064d452b92d7d27a.tar.gz volse-hubzilla-fe960d7c28e89240902293ba064d452b92d7d27a.tar.bz2 volse-hubzilla-fe960d7c28e89240902293ba064d452b92d7d27a.zip |
notifications: only handle item otype notify_ids
Diffstat (limited to 'view/tpl/notifications_widget.tpl')
-rw-r--r-- | view/tpl/notifications_widget.tpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl index 0974045fe..299c07592 100644 --- a/view/tpl/notifications_widget.tpl +++ b/view/tpl/notifications_widget.tpl @@ -28,6 +28,9 @@ var path = $(this)[0].pathname.substr(1,7); var stateObj = { b64mid: b64mid }; + if(b64mid === 'undefined' && notify_id === 'undefined') + return; + {{if $module == 'display'}} history.pushState(stateObj, '', 'display/' + b64mid); {{/if}} |