Fixing Invalid Argument JS error in Internet Explorer #77

Merged
merged 1 commit into from Aug 10, 2012

Conversation

Projects
None yet
3 participants
Contributor

CydeWeys commented Jun 13, 2012

caused by using createElement without passing it a type attribute.

Signed-off-by: Ben McIlwain bmcilwain@ngpvan.com

@CydeWeys CydeWeys Internet Explorer throws an Invalid Argument exception if a style ele…
…ment is created without a type attribute.

Signed-off-by: Ben McIlwain <bmcilwain@ngpvan.com>
3a9b048

fgnass merged commit 1eb65a9 into fgnass:gh-pages Aug 10, 2012

Contributor

CydeWeys commented Aug 10, 2012

Thanks!

in Spin.js
Replace this
var el = createEl('style');

with this
var el = createEl('style', {type : 'text/css'});

That solved my similar problem

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