Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

annotate.tpl.html: avoid this.remove(): it crashes IE #100

Merged
merged 1 commit into from
Jun 16, 2014

Conversation

bassosimone
Copy link
Contributor

Under IE 10, this.remove() raises an exception which is not handled and stops the JavaScript interpreter.

Waiting for a more comprehensive groking of JavaScript, use a hack to circumvent the problem with IE: replace the DOM object to be replaced with an empty string.

Tested on IE 10, Firefox 30.0 and Chromium 34.

Under IE 10, this.remove() raises an exception which is not
handled and stops the JavaScript interpreter.

Waiting for a more comprehensive groking of JavaScript, use a
hack to circumvent the problem with IE: replace the DOM object
to be replaced with an empty string.
alemela added a commit that referenced this pull request Jun 16, 2014
annotate.tpl.html: avoid this.remove(): it crashes IE
@alemela alemela merged commit 90ebc78 into master Jun 16, 2014
@bassosimone bassosimone deleted the fix-annotations-ie-bug branch June 16, 2014 13:45
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.

2 participants