SyntaxFix
Write A Post
Hire A Developer
Questions
I had the same solution as gregpress answer, but my draggable items used a class instead of an id. It seems to work.
var $target = $(event.target); if( $target.hasClass('draggable') ) { event.preventDefault(); }