Created
March 1, 2012 14:07
-
-
Save jamiel/1950031 to your computer and use it in GitHub Desktop.
New background image not loading after jQuery fadeOut / fadeIn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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