thorstein5/PhotoSwipe — pull request #1 by thorstein5 (2012-10-08 00:49:19+00:00)
Title: Fix faulty orientationchange support detection

The supportsOrientationChange test appears to be faulty which results in that
'resize' is always chosen even though 'orientationchange' is supported.
This may cause device rotation issues in Google Chrome, Mercury and
occasionally also in Safari on iOS devices. Also corrected the name of a
related variable.