Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Prevent users from highlighting pieces

  • Loading branch information...
commit c7f7cd1091ad3ad6265f922a1d2156333a1e4abd 1 parent b18dead
Alan Hogan authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 puzzle.jquery.js
5 puzzle.jquery.js
View
@@ -96,7 +96,10 @@ jQuery.fn.puzzle = function( intUserSize ){
),
position: "absolute",
top: ((intSize * intRowIndex) + "px"),
- left: ((intSize * intColIndex) + "px")
+ left: ((intSize * intColIndex) + "px"),
+ mozUserSelect: 'none',
+ webkitUserSelect: 'none',
+ userSelect: 'none'
}
)
.width( intSize )
Please sign in to comment.
Something went wrong with that request. Please try again.