Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Commit

Permalink
Merge pull request #35 from snrbrnjna/remove-superfluos-iphone-workar…
Browse files Browse the repository at this point in the history
…ound

Remove superfluous iphone workaround
  • Loading branch information
Mobius1 committed Sep 30, 2017
2 parents 2a73e79 + bb20e80 commit d035b36
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/selectr.js
Original file line number Diff line number Diff line change
Expand Up @@ -1101,13 +1101,6 @@
// Listen for the change on the native select
// and update accordingly
this.el.addEventListener("change", function(e) {

// // Tapping on iPhone causes options to be selected instead of opening the dropdown
// if (!that.opened) {
// that.open();
// return false;
// }

if (that.el.multiple) {
var indexes = that.getSelectedProperties('idx');
var changes = getChangedOptions(that.selectedIndexes, indexes);
Expand Down

0 comments on commit d035b36

Please sign in to comment.