|
|
@ -162,8 +162,10 @@ $(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)
|
|
|
|
|
|
|
|
if (item.width < xpath_data['browser_width']) {
|
|
|
|
possible_elements.push(item);
|
|
|
|
possible_elements.push(item);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// Find the best one
|
|
|
|
// Find the best one
|
|
|
|