mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-12-04 15:15:32 +00:00
BrowserSteps - Element finder filter (offpage) should also calculate top scroll offset
This commit is contained in:
@@ -87,7 +87,7 @@ for (var i = 0; i < elements.length; i++) {
|
||||
}
|
||||
|
||||
// Don't include elements that are offset from canvas
|
||||
if (bbox['top'] < 0 || bbox['left'] < 0) {
|
||||
if (bbox['top']+scroll_y < 0 || bbox['left'] < 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user