content operations
This commit is contained in:
parent
b6e5153c1f
commit
a61f37ad61
8 changed files with 62 additions and 58 deletions
|
@ -21,7 +21,10 @@ export function exec(operation, sender) {
|
|||
case operations.ZOOM_NEUTRAL:
|
||||
return zooms.neutral();
|
||||
default:
|
||||
return Promise.resolve();
|
||||
return browser.tabs.sendMessage(sender.tab.id, {
|
||||
type: 'require.content.operation',
|
||||
operation
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue