]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Equalizer fix pictures with predefined height 6290/head
authorDarth Vader <brave.pineapple@gmail.com>
Thu, 12 Feb 2015 22:48:01 +0000 (22:48 +0000)
committerDarth Vader <brave.pineapple@gmail.com>
Thu, 12 Feb 2015 22:48:01 +0000 (22:48 +0000)
commitdb964c080b0c3c457687c4eaf5f538033d651afa
tree3cde1d95b9e411f464ef890c5dd0de45bb1afb0a
parent0128372c5fc1527f193f6598357b73bb0f02ad75
Equalizer fix pictures with predefined height

Equaliser doesn’t wait until pictures will be loaded if all the
pictures in element to be equalised are provided with ‘height’
attribute.

This fixes the error when using AngularJS and pictures come with 404
error. Before this equaliser didn’t work at all.

Also: https://github.com/zurb/foundation/issues/6276
js/foundation/foundation.js