mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-16 13:30:23 +01:00
fix: #7618 save pathname into app.previousUrl ins. of entire url
This commit is contained in:
@@ -71,7 +71,7 @@ $(document).ready(function () {
|
||||
apiXHR.abort();
|
||||
}
|
||||
|
||||
app.previousUrl = !['reset'].includes(ajaxify.currentPage) ? window.location.href : app.previousUrl;
|
||||
app.previousUrl = !['reset'].includes(ajaxify.currentPage) ? window.location.pathname : app.previousUrl;
|
||||
|
||||
url = ajaxify.start(url);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user