Created
October 25, 2014 07:50
-
-
Save oguzhanaslan/4c74d0e32432e100e76f to your computer and use it in GitHub Desktop.
Stop Visitors Dragging Images To Copy
This file contains hidden or 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
function stopImageDrag(){ | |
$("img").bind("dragstart",function(e){ | |
return false; | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment