Skip to content

Instantly share code, notes, and snippets.

@thednp
Forked from bennadel/index.htm
Last active September 24, 2015 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thednp/78a4b695b446df6f4ac3 to your computer and use it in GitHub Desktop.
Save thednp/78a4b695b446df6f4ac3 to your computer and use it in GitHub Desktop.
Removing Inline Opacity Filters After Fade-In / Fade-Out Transitions In IE8
// el.style.filter = ''; isn't working, this is the solution
el.style.removeAttribute( "filter" );
// when plain js is used, the above isn't working so you can try
el.style.setAttribute( "filter",'' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment