Skip to content

Fix Image Loading bug on Internet Explorer 11 - #14

Open
saadsaifse wants to merge 1 commit into
IvanSanchez:gh-pagesfrom
saadsaifse:gh-pages
Open

Fix Image Loading bug on Internet Explorer 11#14
saadsaifse wants to merge 1 commit into
IvanSanchez:gh-pagesfrom
saadsaifse:gh-pages

Conversation

@saadsaifse

Copy link
Copy Markdown

When using this plug-in on IE 11, the images are loaded on the wrong location without rotation. The reason was 0 image width and height values inside the _reset function. To fix this, I moved the append image statement to img.onload method and removed unnecessary _reset call inside onAdd. This fixes the Internet Explorer bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant