fix: make back home button navigate correctly
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
<div class="post-content">
|
<div class="post-content">
|
||||||
<p th:text="${error?.detail}"></p>
|
<p th:text="${error?.detail}"></p>
|
||||||
</div>
|
</div>
|
||||||
<button data-pjax th:href="@{/}" th:text="#{page.error.back}">
|
<button type="button" th:onclick="|location.href='@{/}'|" th:text="#{page.error.back}">
|
||||||
Back to home page
|
Back to home page
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<div class="post-content">
|
<div class="post-content">
|
||||||
<p th:text="${error?.detail}"></p>
|
<p th:text="${error?.detail}"></p>
|
||||||
</div>
|
</div>
|
||||||
<button data-pjax th:href="@{/}" th:text="#{page.error.back}">
|
<button type="button" th:onclick="|location.href='@{/}'|" th:text="#{page.error.back}">
|
||||||
Back to home page
|
Back to home page
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<div class="post-content">
|
<div class="post-content">
|
||||||
<p th:text="${error?.detail}"></p>
|
<p th:text="${error?.detail}"></p>
|
||||||
</div>
|
</div>
|
||||||
<button data-pjax th:href="@{/}" th:text="#{page.error.back}">
|
<button type="button" th:onclick="|location.href='@{/}'|" th:text="#{page.error.back}">
|
||||||
Back to home page
|
Back to home page
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user