Correct select method not handling option and li elements #62

Merged
merged 1 commit into from Apr 19, 2017

Projects

None yet

2 participants

Contributor

After my commit to change to data("value"), there is an inconsistency in the select method as previously it handled both option and li the same way with attr("value"). This corrects this so that input values are correctly set in these situations and corrects another issue where change was getting called multiple times.

@FreedomMercenary FreedomMercenary Add additional check for handling both option and li element values i…
…n select method.

Add check to prevent double firing change event.
aa6be3f
@FezVrasta FezVrasta merged commit 868eb97 into FezVrasta:master Apr 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment