mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-12-12 11:05:42 +00:00
BrowserSteps - Dont highlight elements that are the full page width (body, wrappers etc)
This commit is contained in:
@@ -162,7 +162,9 @@ $(document).ready(function () {
|
|||||||
) {
|
) {
|
||||||
// There could be many elements here, record them all and then we'll find out which is the most 'useful'
|
// There could be many elements here, record them all and then we'll find out which is the most 'useful'
|
||||||
// (input, textarea, button, A etc)
|
// (input, textarea, button, A etc)
|
||||||
possible_elements.push(item);
|
if (item.width < xpath_data['browser_width']) {
|
||||||
|
possible_elements.push(item);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user