This commit is contained in:
Alyssa X 2022-01-12 19:41:41 +01:00
parent 0357595625
commit f2e6341fe0
2 changed files with 2 additions and 2 deletions

View file

@ -148,7 +148,7 @@ chrome.action.onClicked.addListener((tab) => {
// Listen for the open omni shortcut
chrome.commands.onCommand.addListener((command) => {
if (command = "open-omni") {
if (command == "open-omni") {
chrome.tabs.query({active: true, currentWindow: true}, function(tabs){
chrome.tabs.sendMessage(tabs[0].id, {request: "open-omni"});
});

View file

@ -2,7 +2,7 @@
"name": "Omni",
"description": "Supercharge Chrome with commands, shortcuts, and more",
"offline_enabled": true,
"version": "1.1.1",
"version": "1.1.2",
"manifest_version": 3,
"action": {
"icons": {