Veams / query

Represents a very simple DOM API for Veams-JS (incl. ajax support)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

$(window) returns an empty VeamsQueryObject

jose-medina opened this issue · comments

This bug was discovered while trying to bind the scroll listener to the window object using VeamsQuery:
Example:

$( window ).on( 'scroll', blablabla )

$(window) will return:
VeamsQueryObject { length: 0, type: "VeamsQueryObject", proto: Object }

Will fix that ...