diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-01-14 10:14:37 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-01-14 10:14:37 +0100 |
commit | f3554804bfe5bf88984bce925470934429567516 (patch) | |
tree | d2e721cf684a9bfa8773f2b43168484f70634b5a /view/tpl | |
parent | 90b6afe06bacd5377c638c89045801296d69ec44 (diff) | |
download | volse-hubzilla-f3554804bfe5bf88984bce925470934429567516.tar.gz volse-hubzilla-f3554804bfe5bf88984bce925470934429567516.tar.bz2 volse-hubzilla-f3554804bfe5bf88984bce925470934429567516.zip |
only load new content onpopstate if the mid has actually changed
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/notifications_widget.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl index 98047f1d9..bc7f80906 100644 --- a/view/tpl/notifications_widget.tpl +++ b/view/tpl/notifications_widget.tpl @@ -24,7 +24,7 @@ }); window.onpopstate = function(e) { - if(e.state !== null) + if(e.state !== null && e.state.b64mid !== bParam_mid) getData(e.state.b64mid, ''); }; }); |