This is because of calling toArray() on the result of a jQuery call if the returned type is object. We should check if the returned value has this method as postion() and offset() return a plain object and not a jQuery object.
The text was updated successfully, but these errors were encountered:
Originally created by Marcin Erdmann.
This is because of calling toArray() on the result of a jQuery call if the returned type is
object
. We should check if the returned value has this method aspostion()
andoffset()
return a plain object and not a jQuery object.The text was updated successfully, but these errors were encountered: