Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upTypeerror #32
Closed
Typeerror #32
Comments
This comment has been minimized.
This comment has been minimized.
|
I'm able to replicate the image disappearing on the following devices: Ipad 4 - iOS v7 - Safari Any thoughts? |
This comment has been minimized.
This comment has been minimized.
|
Yes, it's not compatible with iOS 7 I can add compatibility but you won't be able to change or read the |
This comment has been minimized.
This comment has been minimized.
|
This is now fixed, the polyfill is applied correctly but you won't be able to read the correct <img src="image.jpg">objectFitImages();
console.log(document.querySelector('img').src);
// in semi-modern browsers: http://example.com/image.jpg
// in iOS7: data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Page loads and after script runs, image disappears.
Console error - ofi.browser.js:
Typeerror: attempting to change access mechanism for an unconfigurable property
Ipad Mini 2
OS: iOS v7
Browser: Safari