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:47:29 +0100 |
commit | ab3b126ff6a3dd76292c6c96482ed6835df966f6 (patch) | |
tree | 586474cb62fdd0ddc9b3e16159be6212042937fb /view | |
parent | 6a17da9b0867b90969ec69ba85f6e2291267dea4 (diff) | |
download | volse-hubzilla-ab3b126ff6a3dd76292c6c96482ed6835df966f6.tar.gz volse-hubzilla-ab3b126ff6a3dd76292c6c96482ed6835df966f6.tar.bz2 volse-hubzilla-ab3b126ff6a3dd76292c6c96482ed6835df966f6.zip |
notifications: only handle item otype notify_ids
Diffstat (limited to 'view')
-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}} |