Bug Tracker

Opened 11 years ago

Closed 11 years ago

#3050 closed bug (invalid)

innerHeight/Width on window return null

Reported by: aviflombaum Owned by: brandon
Priority: major Milestone: 1.3
Component: dimensions Version: 1.2.6
Keywords: innerHeight, innerWidth, window Cc:
Blocked by: Blocking:

Description

Calling innerHeight or innerWidth in $(window) fails, returns nothing:

$(window).innerHeight(); $("body").innerHeight();

624

Seems to bring up a NS_ERROR_XPC_BAD_CONVERT_JS error in Firefox on OS X.

Change History (2)

comment:1 Changed 11 years ago by dmethvin

See also #4100.

comment:2 Changed 11 years ago by brandon

Resolution: invalid
Status: newclosed

Use $(window).height()

Note: See TracTickets for help on using tickets.