diff --git a/src/background.js b/src/background.js index fe01963..576af5a 100644 --- a/src/background.js +++ b/src/background.js @@ -198,7 +198,7 @@ function getBookmarks() { for (var i = 0; i < bookmarks.length; i++) { var bookmark = bookmarks[i]; if (bookmark.url) { - actions.push({title:bookmark.title, desc:"Bookmark", id:bookmark.id, type:"bookmark", action:"bookmark", emoji:true, emojiChar:"⭐️", keycheck:false}) + actions.push({title:bookmark.title, desc:"Bookmark", id:bookmark.id, url:bookmark.url, type:"bookmark", action:"bookmark", emoji:true, emojiChar:"⭐️", keycheck:false}) } if (bookmark.children) { process_bookmark(bookmark.children); diff --git a/src/content.js b/src/content.js index 5b76308..69cf62c 100644 --- a/src/content.js +++ b/src/content.js @@ -148,6 +148,7 @@ $(document).ready(function(){ // Handle actions from the omni function handleAction() { var action = actions.find(x => x.title == $(".omni-item-active .omni-item-name").text()); + console.log(action); closeOmni(); if ($(".omni-extension input").val().toLowerCase().startsWith("/remove")) { chrome.runtime.sendMessage({request:"remove", type:action.type, action:action}); diff --git a/src/manifest.json b/src/manifest.json index 16895a1..0a6b83e 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,7 +2,7 @@ "name": "Omni", "description": "Supercharge Chrome with commands, shortcuts, and more", "offline_enabled": true, - "version": "1.0.7", + "version": "1.0.8", "manifest_version": 3, "action": { "icons": {