Created
December 28, 2014 10:05
-
-
Save eccentricpixel/9a47272425f9c8085b78 to your computer and use it in GitHub Desktop.
Here is a fix for equalizer calculating the height of the element before interchange has finished loading the appropriate image. This reinitializes equalizer after the image is set. #foundation
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
$(document).on('replace', 'img', function() { | |
$(document).foundation('equalizer', 'reflow'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment