diff --git a/src/content.js b/src/content.js index 4c7d55b..ef82688 100644 --- a/src/content.js +++ b/src/content.js @@ -15,7 +15,7 @@ $(document).ready(function(){ // Add actions to the omni function populateOmni() { - $("#omni-extension #list").html(""); + $("#omni-extension #omni-list").html(""); actions.forEach(function(action, index){ var keys = ""; if (action.keycheck) { @@ -152,7 +152,7 @@ $(document).ready(function(){ if ($(".omni-extension input").val().toLowerCase().startsWith("/remove")) { chrome.runtime.sendMessage({request:"remove", type:action.type, action:action}); } else if ($(".omni-extension input").val().toLowerCase().startsWith("/history")) { - window.open($(".item-active").attr("data-url"), "_self"); + window.open($(".omni-item-active").attr("data-url"), "_self"); } else { chrome.runtime.sendMessage({request:action.action, tab:action}); if (action.action == "bookmark") { diff --git a/src/manifest.json b/src/manifest.json index 6cac618..67f6634 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.4", + "version": "1.0.5", "manifest_version": 3, "action": { "icons": {