]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fixed typo in length(). 9804/head
authorRandall Rodrigues <randman.rjr@gmail.com>
Thu, 9 Mar 2017 14:43:09 +0000 (09:43 -0500)
committerRandall Rodrigues <randman.rjr@gmail.com>
Thu, 9 Mar 2017 14:43:09 +0000 (09:43 -0500)
js/foundation.sticky.js

index 3e59cff66e8e4345f133c27fad93b6d747bc96ff..cb12ac452424d2f208f2332d1e46b8e6eb667a2b 100644 (file)
@@ -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;