diff --git a/src/js/contextmenu.js b/src/js/contextmenu.js index a973fb897..61a3ac575 100644 --- a/src/js/contextmenu.js +++ b/src/js/contextmenu.js @@ -70,11 +70,6 @@ var onContextMenuClicked = function(details, tab) { /******************************************************************************/ var toggleMenu = function(on) { - // In case the permission for contextMenu was not granted. - // if ( chrome.contextMenus === undefined ) { - // return; - // } - // This needs to be local scope: we can't reuse it for more than one // menu creation call. var menuCreateDetails = { diff --git a/src/js/vapi-background.js b/src/js/vapi-background.js index 117fb9ebe..837c845a0 100644 --- a/src/js/vapi-background.js +++ b/src/js/vapi-background.js @@ -187,7 +187,6 @@ if (window.chrome) { this.connector = function(port) { var onMessage = function(request) { var callback = function(response) { - // stfu if (chrome.runtime.lastError || response === undefined) { return; }