Skip to content

Commit

Permalink
Fix constant error on firefox mobile from chrome.contextMenus
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuuuube committed Dec 17, 2024
1 parent f3dff02 commit 9251f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/js/background/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,7 @@ export class Backend {
}

try {
if (options.general.enableContextMenuScanSelected) {
if (options.general.enableContextMenuScanSelected && chrome.contextMenus) {
chrome.contextMenus.create({
id: 'yomitan_lookup',
title: 'Lookup in Yomitan',
Expand Down

0 comments on commit 9251f28

Please sign in to comment.