diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
commit | 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch) | |
tree | a4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /browser/components/urlbar/UrlbarProviderClipboard.sys.mjs | |
parent | Adding debian version 124.0.1-1. (diff) | |
download | firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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; } |