always setting app.previousUrl now, and passing cid into filter:category.topics.get hook

This commit is contained in:
Julian Lam
2017-01-13 15:01:14 -05:00
parent 2a9088d571
commit c99321a518
3 changed files with 3 additions and 5 deletions

View File

@@ -67,9 +67,7 @@ $(document).ready(function () {
apiXHR.abort();
}
if (!window.location.pathname.match(/\/(403|404)$/g)) {
app.previousUrl = window.location.href;
}
app.previousUrl = window.location.href;
url = ajaxify.start(url);