disable selection which brings havoc on touchscreens
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 26 Sep 2014 14:50:57 +0000 (16:50 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 26 Sep 2014 14:50:57 +0000 (16:50 +0200)
examples/selfcheck.html

index fd00e61..d55cbf7 100644 (file)
@@ -9,6 +9,11 @@
 body, input {
        font-family: 'Roboto', sans-serif;
        font-size: 110%;
+       /* disable selection which brings havoc on touchscreens */
+       -webkit-user-select: none;
+       -moz-user-select: -moz-none;
+       -ms-user-select: none;
+       user-select: none;
 }
 
 body {