Simple wrapper for backwards compatibility

This commit is contained in:
Andrew Smith 2012-02-24 09:08:47 +10:00 committed by Felix Schäfer
parent 1b7ddb3cd7
commit 2b640f76ec
1 changed files with 7 additions and 0 deletions

View File

@ -209,3 +209,10 @@
lastSelected = null; lastSelected = null;
}; };
})(jQuery); })(jQuery);
/**
* Wrapper function to support the old way of creating aa context menu.
*/
function ContextMenu() {
jQuery(document).ContextMenu(arguments);
}