BrowserSteps - Dont highlight elements that are the full page width (body, wrappers etc)

source-html-pretty-filter
dgtlmoon 2 years ago
parent dd87912c88
commit 367dec48e1

@ -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);
}
} }
}); });

Loading…
Cancel
Save