From 8aebe88417d7789a5b3b8d42c7cebd00ed427b0f Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 28 Jan 2019 16:07:42 -0500 Subject: [PATCH] fix: #7306 --- public/src/ajaxify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/ajaxify.js b/public/src/ajaxify.js index 77dd6d1d3e..d8753b9a9f 100644 --- a/public/src/ajaxify.js +++ b/public/src/ajaxify.js @@ -71,7 +71,7 @@ $(document).ready(function () { apiXHR.abort(); } - app.previousUrl = window.location.href; + app.previousUrl = !['reset'].includes(ajaxify.currentPage) ? window.location.href : app.previousUrl; url = ajaxify.start(url);