]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Fix outerHeight for jQuery 1.8.0 version 4975/head
authorakodde <akodde@users.noreply.github.com>
Tue, 15 Apr 2014 10:27:14 +0000 (12:27 +0200)
committerakodde <akodde@users.noreply.github.com>
Tue, 15 Apr 2014 10:27:14 +0000 (12:27 +0200)
commit2b2d6fb5a8832997e310af85d113b7c0357171dc
tree84d959a129cc8d6f2a1565cfbd8199438db51f42
parent6d923751f558cf5a7a1844096ad18b5f0c82a52f
Fix outerHeight for jQuery 1.8.0 version

The parameter 'includeMargin' is set to false by default (https://api.jquery.com/outerHeight/). However due to a bug in jQuery 1.8.0 the outerHeight returns an object instead of an integer: http://bugs.jquery.com/ticket/12159

Adding 'false' fixes the equalizer for jQuery 1.8.0 and wouldn't do harm as it is set to false by default.
js/foundation/foundation.equalizer.js