Error while calling innerHeight
| Project: | Dimensions |
| Version: | 1.2.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
I'm using jQuery 1.2.3 and trying to get $(window).innerHeight()
When I do that, I get this error in firefox:
Error: uncaught exception: [Exception... "Could not convert JavaScript argument" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: http://www.ntid.rit.edu/ntidweb/jquery-1.2.3.js :: anonymous :: line 876" data: no]
I figured out that this.is(':visible') is the one causing the problem, but I'm not sure how to fix it.
This is the one located in line 29 of jquery.dimensions.js
If I replace this.is(':visible') with 1 or 0 (just so the if statement works, the function completes successfully.)
