changeset 999:3714c6c53529

Add helpful notice for people who have JavaScript disabled while voting.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 15 Jan 2015 10:28:02 +0200
parents b0ef1c1b0eeb
children 6bdc34d99c46
files pages/vote.inc.php
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pages/vote.inc.php	Fri Jan 09 15:19:01 2015 +0200
+++ b/pages/vote.inc.php	Thu Jan 15 10:28:02 2015 +0200
@@ -79,6 +79,9 @@
 {
   stCommonAJAX("usrajax.php", "usrlogout.php");
 ?>
+<noscript>
+<div class="notice">If your browser supports JavaScript, enable it for smoother voting experience.</div>
+</noscript>
 <script type="text/javascript">
 
 function updateVote(eid, value)