mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #937 from keepassxreboot/fix/document_max_size_calc
Fix document max size calculation
This commit is contained in:
commit
6c8cb7db60
2 changed files with 4 additions and 4 deletions
|
|
@ -329,8 +329,8 @@ kpxcFields.isVisible = function(field) {
|
|||
if (rect.x < 0
|
||||
|| rect.y < 0
|
||||
|| rect.width < 8
|
||||
|| rect.x > document.body.offsetWidth
|
||||
|| rect.y > document.body.offsetHeight
|
||||
|| rect.x > Math.max(document.body.scrollWidth, document.body.offsetWidth, document.documentElement.clientWidth)
|
||||
|| rect.y > Math.max(document.body.scrollHeight, document.body.offsetHeight, document.documentElement.clientHeight)
|
||||
|| rect.height < 8) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "KeePassXC-Browser",
|
||||
"version": "1.6.5",
|
||||
"version_name": "1.6.5",
|
||||
"version": "1.6.6",
|
||||
"version_name": "1.6.6",
|
||||
"description": "__MSG_extensionDescription__",
|
||||
"author": "KeePassXC Team",
|
||||
"icons": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue