I think it would be simpler to just do `L.DomEvent.on(document, 'contextmenu', L.DomEvent.stop)` instead of defining a separate method.