diff options
Diffstat (limited to 'browser/components/urlbar/UrlbarProviderClipboard.sys.mjs')
-rw-r--r-- | browser/components/urlbar/UrlbarProviderClipboard.sys.mjs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/browser/components/urlbar/UrlbarProviderClipboard.sys.mjs b/browser/components/urlbar/UrlbarProviderClipboard.sys.mjs index f1d0a0beb2..5337e610cc 100644 --- a/browser/components/urlbar/UrlbarProviderClipboard.sys.mjs +++ b/browser/components/urlbar/UrlbarProviderClipboard.sys.mjs @@ -51,7 +51,8 @@ class ProviderClipboard extends UrlbarProvider { if ( !lazy.UrlbarPrefs.get("clipboard.featureGate") || !lazy.UrlbarPrefs.get("suggest.clipboard") || - queryContext.searchString + queryContext.searchString || + queryContext.searchMode ) { return false; } @@ -113,7 +114,7 @@ class ProviderClipboard extends UrlbarProvider { return null; } - getPriority(queryContext) { + getPriority() { // Zero-prefix suggestions have the same priority as top sites. return 1; } |