Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #237: Use jQuery#is() for jQuery equality
In f1a1f30 we added support for [Javascript iteraction protocols][0]. jQuery objects happen to have iteration protocols, so they would trigger the new codepath. However, that code path uses `Array.from` on the input, which doesn't play nice with jQuery's serializer. Luckily, [jQuery has the `is()` method for comparing its objects][1]. [0]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols [1]: https://api.jquery.com/is/
- Loading branch information