Skip to content

Commit

Permalink
Fix readme usage example (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
Autre31415 authored and sindresorhus committed Apr 24, 2019
1 parent bb40ec2 commit b1c8b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Expand Up @@ -29,7 +29,7 @@ const {app, BrowserWindow} = require('electron');
const contextMenu = require('electron-context-menu');

contextMenu({
prepend: (params, browserWindow) => [{
prepend: (defaultActions, params, browserWindow) => [{
label: 'Rainbow',
// Only show it when right-clicking images
visible: params.mediaType === 'image'
Expand Down

0 comments on commit b1c8b31

Please sign in to comment.