kopia lustrzana https://github.com/dgtlmoon/changedetection.io
BrowserSteps - Element finder filter (offpage) should also calculate top scroll offset
rodzic
991841f1f9
commit
4624974b91
|
@ -87,7 +87,7 @@ for (var i = 0; i < elements.length; i++) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Don't include elements that are offset from canvas
|
// 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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue