summaryrefslogtreecommitdiff
path: root/pages/edit_timer.ecpp
diff options
context:
space:
mode:
Diffstat (limited to 'pages/edit_timer.ecpp')
-rw-r--r--pages/edit_timer.ecpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/edit_timer.ecpp b/pages/edit_timer.ecpp
index 8b775cb..a672184 100644
--- a/pages/edit_timer.ecpp
+++ b/pages/edit_timer.ecpp
@@ -243,7 +243,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
<td class="border" style="border-left: 1px solid black; border-bottom: 1px solid black"></td>
<td class="buttonpanel" colspan="2" style="border-bottom: 1px solid black">
<button class="green" type="submit"><$ tr("Save") $></button>
- <button type="button" class="red" onclick="location.href='timers.html';"><$ tr("Cancel") $></button>
+ <button type="button" class="red" onclick="history.back()"><$ tr("Cancel") $></button>
</td>
<td class="border" style="border-right: 1px solid black; border-bottom: 1px solid black"></td>
</tr>