We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a div were I update the background css property dynamically. Doing this works as intended:
$('#board-wizard .modal-header').css('background-image', 'url(http://i.imgur.com/WRvMldt.gif)'); $('.modal-header').imagesLoaded( { background: true }, function() { console.log('#container background image loaded'); });
But if you change again the background the console.log does not get executed:
$('#board-wizard .modal-header').css('background-image', 'url(anotherImage)');
Is there a work around?
The text was updated successfully, but these errors were encountered:
Same issue here, it seems the function was triggered before the background image was even loaded.
Sorry, something went wrong.
No branches or pull requests
I have a div were I update the background css property dynamically. Doing this works as intended:
But if you change again the background the console.log does not get executed:
$('#board-wizard .modal-header').css('background-image', 'url(anotherImage)');
Is there a work around?
The text was updated successfully, but these errors were encountered: