Fix: remove unused initInstallPage

This commit is contained in:
eight 2017-10-06 16:30:01 +08:00
parent f194155830
commit 0d4d058b00

View File

@ -331,10 +331,6 @@ function onRuntimeMessage(request, sender, sendResponse) {
usercssHelper.openInstallPage(sender.tab.id, request).then(sendResponse); usercssHelper.openInstallPage(sender.tab.id, request).then(sendResponse);
return KEEP_CHANNEL_OPEN; return KEEP_CHANNEL_OPEN;
case 'initUsercssInstallPage':
usercssHelper.initInstallPage(sender.tab.id, request).then(sendResponse);
return KEEP_CHANNEL_OPEN;
case 'closeTab': case 'closeTab':
closeTab(sender.tab.id, request).then(sendResponse); closeTab(sender.tab.id, request).then(sendResponse);
return KEEP_CHANNEL_OPEN; return KEEP_CHANNEL_OPEN;