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
  • Loading branch information
WebVeteran authored and arschmitz committed Jun 2, 2014
1 parent 44e2d98 commit 44f503d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion demos/panel-swipe-open/index.php
Original file line number Diff line number Diff line change
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 44f503d

Please sign in to comment.