Skip to content

Instantly share code, notes, and snippets.

@kadavre
Created June 18, 2017 15:29
Show Gist options
  • Save kadavre/70a09cf9b6a0c440d89d207ca6b77bb1 to your computer and use it in GitHub Desktop.
Save kadavre/70a09cf9b6a0c440d89d207ca6b77bb1 to your computer and use it in GitHub Desktop.
$('p.descr').attr('unselectable', 'on')
.css('user-select', 'none')
.on('selectstart', false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment