Skip to content

Instantly share code, notes, and snippets.

@scottgonzalez
Created January 24, 2014 22:04
Show Gist options
  • Save scottgonzalez/8607674 to your computer and use it in GitHub Desktop.
Save scottgonzalez/8607674 to your computer and use it in GitHub Desktop.
$.ui.intersect = (function( original ) {
return function( draggable, droppable, toleranceMode ) {
if ( toleranceMode !== "myCustomTolerance" ) {
return original.apply( this, arguments );
}
// custom logic here
};
})( $.ui.intersect );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment