Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Demos: Allow text selection in INPUTs and TEXTAREAs.
Browse files Browse the repository at this point in the history
Closes gh-6819

(cherry picked from commit 44f503d)
  • Loading branch information
WebVeteran authored and arschmitz committed Jun 3, 2014
1 parent 56dddc6 commit a253474
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion demos/panel-swipe-open/index.php
Expand Up @@ -30,7 +30,8 @@
</script>
<style>
/* Swipe works with mouse as well but often causes text selection. */
#demo-page * {
/* We'll deny text selecton on everything but INPUTs and TEXTAREAs. */
#demo-page :not(INPUT):not(TEXTAREA) {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
Expand Down

0 comments on commit a253474

Please sign in to comment.