Skip to content

Instantly share code, notes, and snippets.

@JDMcKinstry
Created February 27, 2012 22:55
Show Gist options
  • Save JDMcKinstry/1927715 to your computer and use it in GitHub Desktop.
Save JDMcKinstry/1927715 to your computer and use it in GitHub Desktop.
(function($) {
if (!$.cursorDefault) {
$.extend({ // here is the "key" to it all. This command will "add" your function to the jQuery library
cursorDefault: function() {
document.body.style.cursor = 'default';
}
});
};
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment