mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Fixes a bug in Firefox where the Firefox version wasn't being correctly parsed.
This commit is contained in:
parent
48857a484a
commit
07d235b46b
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue