Skip to content

Instantly share code, notes, and snippets.

@jamiel jamiel/gist:1950031
Created Mar 1, 2012

What would you like to do?
New background image not loading after jQuery fadeOut / fadeIn
fadeIn rendering bug (background image)
I was experiencing an issue in Chrome and Internet Explorer where intermittently the
background image would fail to load after a a fadeIn. Narrowed this down to a rendering
issue rather than a logic error and was able to fix it by resetting the background image
after the fade like so:
$('#wrapper').css('background', $('#wrapper').css('background'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.