response by type
This commit is contained in:
parent
30999e0c65
commit
68753b3660
2 changed files with 21 additions and 6 deletions
|
@ -17,7 +17,10 @@ const keyPressHandle = (request, sender, sendResponse) => {
|
|||
if (actions.isBackgroundAction(action[0])) {
|
||||
doBackgroundAction(sender, action);
|
||||
} else if (actions.isContentAction(action[0])) {
|
||||
sendResponse(action);
|
||||
sendResponse({
|
||||
type: 'response.action',
|
||||
action: action
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Reference in a new issue