Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
getScreenHeight() not compatible with jQuery.noConflict() #2225
The getScreenHeight() function incorrectly uses "jQuery" instead of "$" when accessing the jQuery object:
If you call jQuery.noConflict() after loading jQuery Mobile, "jQuery" will be invalid.
This function should be changed to use the "$" parameter passed to the outer function:
This issue was identified in the latest Git build.
Any update on when or if this might be fixed? This is a commonly used function in the library and many applications will not even start up without the fix if you call jQuery.noConflict(). I see from bug 346 that there was explicit work done to enable support for jQuery.noConflict() so perhaps you would get it in for the RC or the final release?