Permalink
Browse files

Prevent users from highlighting pieces

  • Loading branch information...
1 parent b18dead commit c7f7cd1091ad3ad6265f922a1d2156333a1e4abd @alanhogan committed Aug 31, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 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 )

0 comments on commit c7f7cd1

Please sign in to comment.