From cf703101c15ae9d6f136e374937089b5db5bd5fd Mon Sep 17 00:00:00 2001 From: Subhamoy Biswas Date: Wed, 6 Mar 2024 20:55:54 +0530 Subject: [PATCH] (fixed): search window quick action links not redirecting properly on firefox --- htdocs/assets/js/keybinding-config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/assets/js/keybinding-config.js b/htdocs/assets/js/keybinding-config.js index 5b8962a..2642fdc 100644 --- a/htdocs/assets/js/keybinding-config.js +++ b/htdocs/assets/js/keybinding-config.js @@ -17,7 +17,9 @@ async function redirectToURL(item) { try { const url = await getJsonDataset(item); window.open(url, '_blank'); - location.reload(); + if (!/Firefox/.test(navigator.userAgent)) { + location.reload(); + } } catch (error) { console.error('Error:', error); }