corn_starch 1.3.30 → 1.3.31

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c2d8023690fdf586d8c0987bd12d87d89f34034a
4
- data.tar.gz: 76b1a6aaa90976be7a685b9e598abb970bb9111c
3
+ metadata.gz: d4b32d5ee2b6baab95140e1ef617da0b7eec4cf6
4
+ data.tar.gz: 5cf1a66b89cd610a5de23daf2273680be9933d85
5
5
  SHA512:
6
- metadata.gz: 299a26785260e5935008cc05074b36cf8761bfe749a6f97f27c3e8814b8d1da30a7f96e7b590fe156830b71c4925d4be9dc06d21993365b5c946c80077c85e04
7
- data.tar.gz: 76371ae1b13ecba2bce8874806c9a3c5aeeb029656a4a10dca28d5186743c7f31b7a3c24f2c454ba78f4f179b13097628e7226915734df2bf9622488ffd405bc
6
+ metadata.gz: 67c18026299004e3c99615c89a065261b359b03bd20fbe2ffd89fc7e4149cee5b9571dc1b5d4055a5b4be6d36d392dbf2887e345b04291c23791955dc6cb3bb1
7
+ data.tar.gz: 37cb74bb87ae1c8ca5ef7f7b9a51cb8bc456843935a81c8ec26504b2ad46bf09d054689cadd2385bcb5a71fe5814ad9fbdf3683a3eaf3b01fcfeb1349d72d7f2
@@ -4,7 +4,7 @@
4
4
  # InfiniScroll JS
5
5
 
6
6
  # Initialize InfiniScroll for the Page
7
- $ ->
7
+ $(document).on('page:load') ->
8
8
 
9
9
  # Acquire Container
10
10
  infiniscroll_container = $('.infiniscroll-container')
@@ -17,6 +17,7 @@ $ ->
17
17
  infiniscroll infiniscroll_container.id
18
18
 
19
19
  # Handle Scroll Events
20
+ $(window).unbind('scroll')
20
21
  $(window).scroll infiniscroll_handler
21
22
 
22
23
  # Scroll Handler
@@ -68,4 +69,5 @@ window.infiniscroll = (container) ->
68
69
  $("##{container}").append data['content']
69
70
 
70
71
  # Re-Attach Scroll Handler
72
+ $(window).unbind('scroll')
71
73
  $(window).scroll infiniscroll_handler
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.3.30'
2
+ VERSION = '1.3.31'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_starch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.30
4
+ version: 1.3.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse