Adam Bouqdib 11 yıl önce
ebeveyn
işleme
78e53640c8
3 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      dist/jquery.smoove.js
  2. 0 0
      dist/jquery.smoove.min.js
  3. 1 1
      src/jquery.smoove.js

+ 1 - 1
dist/jquery.smoove.js

@@ -136,7 +136,7 @@
                     params = $item.params,
                     height = $(window).height(),
                     // if direction isn't set, set offset to 0 to avoid hiding objects that are above the fold
-                    offset = (direction) ? params.offset : 0,
+                    offset = (direction !== 'down') ? params.offset : 0,
                     itemtop = $(window).scrollTop() + height - $item.data('top');
                     
                 // offset in %

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/jquery.smoove.min.js


+ 1 - 1
src/jquery.smoove.js

@@ -131,7 +131,7 @@
                     params = $item.params,
                     height = $(window).height(),
                     // if direction isn't set, set offset to 0 to avoid hiding objects that are above the fold
-                    offset = (direction) ? params.offset : 0,
+                    offset = (direction !== 'down') ? params.offset : 0,
                     itemtop = $(window).scrollTop() + height - $item.data('top');
                     
                 // offset in %

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor