mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
update variable name
This commit is contained in:
@@ -486,7 +486,7 @@
|
|||||||
var theDoc = el.ownerDocument.documentElement,
|
var theDoc = el.ownerDocument.documentElement,
|
||||||
rect = el.getBoundingClientRect(),
|
rect = el.getBoundingClientRect(),
|
||||||
docScrollWidth = theDoc.scrollWidth,
|
docScrollWidth = theDoc.scrollWidth,
|
||||||
kosri = theDoc.scrollHeight,
|
docScrollHeight = theDoc.scrollHeight,
|
||||||
leftOffset = rect.left - theDoc.clientLeft,
|
leftOffset = rect.left - theDoc.clientLeft,
|
||||||
topOffset = rect.top - theDoc.clientTop,
|
topOffset = rect.top - theDoc.clientTop,
|
||||||
theRect;
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user