Created
April 25, 2017 11:05
-
-
Save AntonLitvin/f3214fc7fd147310c2dc4b905f72698c to your computer and use it in GitHub Desktop.
jQuery Stop Draggable Elements
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('img').on('dragstart', function(event) { event.preventDefault(); }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment