aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--footer.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/footer.php b/footer.php
index cc371ad..f606865 100644
--- a/footer.php
+++ b/footer.php
@@ -5,7 +5,7 @@
<form class="footerform" action="/setfont.php" method="post" autocomplete="off">
<div>
<label for="font">Font Selector</label>
- <select id="font" name="font">
+ <select id="font" name="font" onchange="this.form.submit();">
<option <?php if($c=="b612mono"){echo("selected");}?> value="b612mono">B612 Mono</option>
<option <?php if($c=="b612"){echo("selected");}?> value="b612">B612</option>
<option <?php if($c=="opendyslexic"){echo("selected");}?> value="opendyslexic">OpenDyslexic</option>
@@ -19,7 +19,7 @@
<option <?php if($c=="browserdefault"){echo("selected");}?> value="browserdefault">Browser default</option>
</select>
</div>
- <input type="submit" value="Apply">
+ <noscript><input type="submit" value="Apply"></noscript>
</form>
<p>
<?php