contextmenu.js 251 B

1234567891011
  1. // http://www.w3.org/TR/html5/interactive-elements.html#context-menus
  2. // Demo at http://thewebrocks.com/demos/context-menu/
  3. Modernizr.addTest(
  4. 'contextmenu',
  5. ('contextMenu' in document.documentElement && 'HTMLMenuItemElement' in window)
  6. );