h5bp/mobile-boilerplate — Issue #96: typo in splash-screen script
Author: frequent
Created: 2012-02-07 10:52:31+00:00
State: open

In your download index.html page, the script for checking orientation to load the respective splash-screen image is:

a=window.orientation!==90||window.orientation===-90

Should be **===** on both, shouldn't it? Othwise it always returns landscape.

After changing to this:

a=window.orientation===90||window.orientation===-90

I'm getting the correct images depending on orientation.