Skip to content

Commit 012452a

Browse files
Revert "Ignores going to previous page when at /home"
This reverts commit fb78d5d.
1 parent fb3192e commit 012452a

File tree

1 file changed

+1
-4
lines changed
  • EssentialCSharp.Web/wwwroot/js

1 file changed

+1
-4
lines changed

EssentialCSharp.Web/wwwroot/js/site.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,7 @@ const app = createApp({
152152
}
153153

154154
function goToPrevious() {
155-
debugger;
156-
if (!window.location.href.endsWith("/home")) {
157-
window.location.href = "/" + PREVIOUS_PAGE;
158-
}
155+
window.location.href = "/" + PREVIOUS_PAGE;
159156
}
160157
function goToNext() {
161158
window.location.href = "/" + NEXT_PAGE;

0 commit comments

Comments
 (0)