From: Chris Fulljames Date: Sat, 11 Jul 2026 19:24:22 +0000 (-0400) Subject: Prevent selecting option text in vote X-Git-Url: https://littlesong.place/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=poll.git Prevent selecting option text in vote --- diff --git a/index.php b/index.php index 019f5a3..c181d80 100755 --- a/index.php +++ b/index.php @@ -235,6 +235,10 @@ if (isset($qid) && isset($_GET['count'])) { border-radius: 5px; background-color: #dff; box-shadow: 5px 5px 5px #ccc; + + -webkit-user-select: none; /* Safari */ + -ms-user-select: none; /* IE 10 and IE 11 */ + user-select: none; /* Everyone else */ } .result { background-color: #dff;