Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Hide 'Back' button when it is superfluous on public pages.

Kailash Nadh1054c019ce6f
diff --git a/static/public/templates/message.html b/static/public/templates/message.html
index 8631904d..bb070f3f 100644
--- a/static/public/templates/message.html
+++ b/static/public/templates/message.html
@@ -13,7 +13,7 @@
<script>
(function() {
// If there's page history to go back to, show the back button.
- if(history && history.length >= 2) {
+ if(history && history.length >= 3) {
var btn = document.getElementById("btn-back");
btn.style.display = 'inline-block';
btn.onclick = function(e) {