Skip to content

Cleaner code#2

Open
hillai wants to merge 2 commits into
DanielGorlo:masterfrom
hillai:master
Open

Cleaner code#2
hillai wants to merge 2 commits into
DanielGorlo:masterfrom
hillai:master

Conversation

@hillai

@hillai hillai commented Sep 3, 2014

Copy link
Copy Markdown

Using document.head instead of document.getElementsByTagName(), and using .remove() instead of .parentNode.removeChild(). Both are supported on IE9.

@naveed-ahmad

Copy link
Copy Markdown

@DanielGorlo please merge this PR :)

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