mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-17 01:31:25 +01:00
update variable name
This commit is contained in:
parent
ea1601c32c
commit
280f6f495f
@ -486,7 +486,7 @@
|
||||
var theDoc = el.ownerDocument.documentElement,
|
||||
rect = el.getBoundingClientRect(),
|
||||
docScrollWidth = theDoc.scrollWidth,
|
||||
kosri = theDoc.scrollHeight,
|
||||
docScrollHeight = theDoc.scrollHeight,
|
||||
leftOffset = rect.left - theDoc.clientLeft,
|
||||
topOffset = rect.top - theDoc.clientTop,
|
||||
theRect;
|
||||
@ -506,7 +506,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
if (0 > leftOffset || leftOffset > docScrollWidth || 0 > topOffset || topOffset > kosri) {
|
||||
if (0 > leftOffset || leftOffset > docScrollWidth || 0 > topOffset || topOffset > docScrollHeight) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user