• scottjehl's avatar
    Getting window dimensions currently fails in Nokia browsers, causing JS error... · 18fa1fd9
    scottjehl authored
    Getting window dimensions currently fails in Nokia browsers, causing JS error (and consequently making jQuery Mobile fail to render the page). Based on a tip from Ben Nolan, this fix returns window.screen[width|height] if the other  attempts at getting window dimensions fail. On mobile at least, it seems to make sense, and on desktop (assuming this issue would ever show up on desktop), this might be better than returning false or undefined.
    18fa1fd9
Name
Last commit
Last update
build Loading commit data...
speed Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
GPL-LICENSE.txt Loading commit data...
MIT-LICENSE.txt Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
Rakefile Loading commit data...
build.xml Loading commit data...
version.txt Loading commit data...