Skip to content

Commit

Permalink
Fix chrome variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Folyd committed Jun 25, 2024
1 parent ed95f5b commit 388de8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core
Submodule core updated 2 files
+4 −4 src/omnibox.js
+1 −3 src/storage.js
2 changes: 1 addition & 1 deletion web/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export class RustSearchOmnibox {
},
onAppend: () => {
let content = "/crates.html";
if (chrome && chrome.runtime) {
if (window.chrome?.runtime) {
content = chrome.runtime.getURL("manage/crates.html");
}
return [{
Expand Down

0 comments on commit 388de8d

Please sign in to comment.