From: Randall Rodrigues Date: Thu, 9 Mar 2017 14:43:09 +0000 (-0500) Subject: Fixed typo in length(). X-Git-Tag: v6.4.0-rc1~93^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=281fd79cead894f6775e7cd8945fc24528783af3;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fixed typo in length(). --- diff --git a/js/foundation.sticky.js b/js/foundation.sticky.js index 3e59cff66..cb12ac452 100644 --- a/js/foundation.sticky.js +++ b/js/foundation.sticky.js @@ -35,7 +35,7 @@ class Sticky { id = this.$element[0].id || Foundation.GetYoDigits(6, 'sticky'), _this = this; - if($parent.lenth){ + if($parent.length){ this.$container = $parent; } else { this.wasWrapped = true;