Skip to content

Instantly share code, notes, and snippets.

@JDMcKinstry
Created February 27, 2012 22:57
Show Gist options
  • Save JDMcKinstry/1927734 to your computer and use it in GitHub Desktop.
Save JDMcKinstry/1927734 to your computer and use it in GitHub Desktop.
(function($) {
if (!$.cursorDefault && !$.cursorWait) {
$.extend({
cursorDefault: function() {
document.body.style.cursor = 'default';
},
cursorWait: function() {
document.body.style.cursor = 'wait';
}
});
};
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment