Skip to content

Commit

Permalink
Fix extension mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Folyd committed Jun 26, 2024
1 parent 899c1dd commit 015801c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 [{
Expand Down

0 comments on commit 015801c

Please sign in to comment.