Skip to content

Commit

Permalink
multiple selects when checking for clickability should be treated sim…
Browse files Browse the repository at this point in the history
…ilarly to regular selects
  • Loading branch information
lukeis committed Jan 12, 2016
1 parent 1b1bbf4 commit 9af89ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/firefox-driver/js/syntheticMouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ SyntheticMouse.prototype.isElementClickable = function(element) {
parent = parent.parentNode;
}

if (parent && parent.tagName.toLowerCase() == 'select' && !parent.multiple) {
if (parent && parent.tagName.toLowerCase() == 'select') {
return this.isElementClickable(parent);
}
}
Expand Down

0 comments on commit 9af89ff

Please sign in to comment.