remove unused message

jh-changes
Shin'ya Ueoka 7 years ago
parent a61f37ad61
commit 9dc02b2fd8
  1. 8
      src/content/index.js

@ -57,14 +57,6 @@ browser.runtime.onMessage.addListener((action) => {
case 'require.content.operation': case 'require.content.operation':
execOperation(action.operation); execOperation(action.operation);
return Promise.resolve(); return Promise.resolve();
case 'vimvixen.command.enter':
return browser.runtime.sendMessage({
type: 'event.cmd.enter',
text: action.value
}).catch((err) => {
console.error("Vim Vixen:", err);
return consoleFrames.showError(err.message);
});
default: default:
return Promise.resolve(); return Promise.resolve();
} }