diff --git a/app/lib/menu.js b/app/lib/menu.js index 9ad8d6c..4f18095 100644 --- a/app/lib/menu.js +++ b/app/lib/menu.js @@ -87,7 +87,7 @@ module.exports = function (window) { label: 'Toggle DevTools', accelerator: 'Alt+Command+I', click: function() { - window.toggleDevTools() + window.rpc.contextualToggleDevTools() } }, ] diff --git a/app/lib/muxrpc-ipc.js b/app/lib/muxrpc-ipc.js index bf87790..c08e551 100644 --- a/app/lib/muxrpc-ipc.js +++ b/app/lib/muxrpc-ipc.js @@ -5,7 +5,8 @@ var pushable = require('pull-pushable') var Api = require('scuttlebot/lib/api') var clientApi = { - navigate: 'async' + navigate: 'async', + contextualToggleDevTools: 'async' } module.exports = function (window, sbot, params) {