You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At least on iOS6, but probably on more browsers, the resize-event can be triggered before the image has been loaded and/or the ratio of the image is know.
The method already has a try/catch block in place for IE7, but it should also just check for isNaN() on the calculated bgHeight so it can stop further processing in that case.
The text was updated successfully, but these errors were encountered:
At least on iOS6, but probably on more browsers, the resize-event can be triggered before the image has been loaded and/or the ratio of the image is know.
The method already has a try/catch block in place for IE7, but it should also just check for isNaN() on the calculated bgHeight so it can stop further processing in that case.
The text was updated successfully, but these errors were encountered: