Skip to main content

Bug Tracker

Side navigation

#3050 closed bug (invalid)

Opened June 16, 2008 07:54PM UTC

Closed March 18, 2009 03:18AM UTC

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.

Attachments (0)
Change History (2)

Changed February 10, 2009 12:06AM UTC by dmethvin comment:1

See also #4100.

Changed March 18, 2009 03:18AM UTC by brandon comment:2

resolution: → invalid
status: newclosed

Use $(window).height()