Skip to content

Instantly share code, notes, and snippets.

@corydorning
Created September 22, 2011 19:22
Show Gist options
  • Save corydorning/1235746 to your computer and use it in GitHub Desktop.
Save corydorning/1235746 to your computer and use it in GitHub Desktop.
jQuery UI Dialog - Remove Containment
$.ui.dialog.prototype._makeDraggable = function() {
this.uiDialog.draggable({
containment: false,
handle: '.ui-dialog-titlebar'
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment