Sources/com.elgato.pisamples.sdPlugin/contextmenu.js
/**
* Turns the custom context menu on.
*/
Turns the custom context menu on.
Turns the custom context menu on .
function toggleMenuOn(contextMenu) {
	if( !contextMenu.classList.contains(contextMenuActive)){
		contextMenu.classList.add( contextMenuActive );
	}
}
function toggleMenuOn ( contextMenu ) { if ( ! contextMenu . classList . contains ( contextMenuActive ) ) { contextMenu . classList . add ( contextMenuActive ) ; } }
Turns the custom context menu on.
Turns the custom context menu on .