Skip to content

Commit

Permalink
Add CSS for Webkit browsers + the standard user-select property
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Apr 15, 2010
1 parent a043be4 commit acf37dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.noselect.min.js
Expand Up @@ -3,4 +3,4 @@
* @link http://github.com/mathiasbynens/noSelect-jQuery-Plugin
* @author Mathias Bynens <http://mathiasbynens.be/>
*/
(function(a){a.fn.noSelect=function(){function b(){return !1}return a(this).each(function(){this.onselectstart=this.ondragstart=b;a(this).mousedown(b).css({MozUserSelect:'none'})})}})(jQuery);
(function(a){a.fn.noSelect=function(){function b(){return !1}return a(this).each(function(){this.onselectstart=this.ondragstart=b;a(this).mousedown(b).css({MozUserSelect:'none',WebkitUserSelect:'none',userSelect:'none'})})}})(jQuery);

0 comments on commit acf37dc

Please sign in to comment.