]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
removed redundant conditional statement at line 38.
authorRandall Rodrigues <randman.rjr@gmail.com>
Thu, 23 Feb 2017 19:16:08 +0000 (14:16 -0500)
committerRandall Rodrigues <randman.rjr@gmail.com>
Thu, 23 Feb 2017 19:16:08 +0000 (14:16 -0500)
js/foundation.sticky.js

index b47993377a479f6b8942cc28b31ca9ddadf5b31a..3e59cff66e8e4345f133c27fad93b6d747bc96ff 100644 (file)
@@ -35,9 +35,6 @@ class Sticky {
         id = this.$element[0].id || Foundation.GetYoDigits(6, 'sticky'),
         _this = this;
 
-    if (!$parent.length) {
-      this.wasWrapped = true;
-    }
     if($parent.lenth){
       this.$container = $parent;
     } else {