summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pages/edit_searchtimer.ecpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/pages/edit_searchtimer.ecpp b/pages/edit_searchtimer.ecpp
index 485f536..d8a577f 100644
--- a/pages/edit_searchtimer.ecpp
+++ b/pages/edit_searchtimer.ecpp
@@ -423,7 +423,8 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
function changedsearchtimermode(selection)
{
document.getElementById("searchtimermode1settings").style.display =
- (selection.options[selection.selectedIndex].value == 0 &
+ ((selection.options[selection.selectedIndex].value == 0 ||
+ selection.options[selection.selectedIndex].value == 5) &
document.getElementById("useassearchtimer").options[document.getElementById("useassearchtimer").selectedIndex].value > 0) ?
"block" : "none";
document.getElementById("searchtimermode3settings").style.display =