Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc-browser.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjrc03c <jrc03c@pm.me>2022-07-01 16:32:04 +0300
committerjrc03c <jrc03c@pm.me>2022-07-01 16:32:04 +0300
commit07d235b46bd8673d2aa7513d701b61b5440eef08 (patch)
tree2d51fdcbfd87d6c98c3b4a6e276a51a7b7088555
parent48857a484a9d7043c8f4a374b60825d57b4cf2f5 (diff)
Fixes a bug in Firefox where the Firefox version wasn't being correctly parsed.
-rw-r--r--keepassxc-browser/options/options.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/keepassxc-browser/options/options.js b/keepassxc-browser/options/options.js
index efeaf89..5355ea7 100644
--- a/keepassxc-browser/options/options.js
+++ b/keepassxc-browser/options/options.js
@@ -662,7 +662,7 @@ options.initAbout = function() {
$('#tab-about span.kpxcbrBrowser').textContent = getBrowserId();
// Hides keyboard shortcut configure button if Firefox version is < 60 (API is not compatible)
- if (isFirefox() && Number(navigator.userAgent.substr(navigator.userAgent.lastIndexOf('/') + 1, 2)) < 60) {
+ if (isFirefox() && Number(navigator.userAgent.substring(navigator.userAgent.lastIndexOf('/') + 1)) < 60) {
$('#chrome-only').remove();
}
};