summaryrefslogtreecommitdiff
path: root/source/bower_components/modernizr/feature-detects/contextmenu.js
blob: dd8182f95f0b9cf8bfb97ea48a5646aa9fc5dcc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
// http://www.w3.org/TR/html5/interactive-elements.html#context-menus
// Demo at http://thewebrocks.com/demos/context-menu/
Modernizr.addTest(
  'contextmenu', 
  ('contextMenu' in document.documentElement && 'HTMLMenuItemElement' in window) 
);