diff --git a/web/lib/index.js b/web/lib/index.js index fcc25dd..ceb6f0d 100644 --- a/web/lib/index.js +++ b/web/lib/index.js @@ -170,7 +170,7 @@ export class RustSearchOmnibox { }, onAppend: () => { let content = "/crates.html"; - if (window.chrome?.runtime) { + if (omnibox?.runtime) { content = chrome.runtime.getURL("manage/crates.html"); } return [{