Open Marooned-MB opened 11 years ago
The workaround for this issue (using jQuery syntax):
var someImage = $('#some-image');
someImage.on('load', function() {
//here someImage.complete is false for IE8, jCrop loader will fail
setTimeout(function() {
//here someImage.complete is true for IE8, jCrop loader will succeed
someImage.jCrop({...}, function() {...});
}, 0);
});
@Marooned-MB :+1:
@Marooned-MB You are my Hero! It's a pity this repo is not well maintained...
@Marooned-MB <3
Good to hear it's helpful :)
I have IE10 and when testing the site in IE8 mode there is an issue with jCrop due to usage of not very well handled
complete
property. I'm calling jCrop from onload method of image and jCrop seescomplete
property set to false. This is a common problem if you google it.Solution would be not to use this property or do some workaround for IE.
Yeah, we all love IE...