Showing
1 changed file
with
4 additions
and
2 deletions
@@ -14,7 +14,8 @@ function ajaxCurrencyDetail(page) { | @@ -14,7 +14,8 @@ function ajaxCurrencyDetail(page) { | ||
14 | window.rePosFooter(); | 14 | window.rePosFooter(); |
15 | } | 15 | } |
16 | }); | 16 | }); |
17 | -}; | 17 | +} |
18 | + | ||
18 | $(window).scroll(function() { | 19 | $(window).scroll(function() { |
19 | if ($(window).scrollTop() + $(window).height() > $('body').height() - 1) { | 20 | if ($(window).scrollTop() + $(window).height() > $('body').height() - 1) { |
20 | page++; | 21 | page++; |
@@ -22,4 +23,5 @@ $(window).scroll(function() { | @@ -22,4 +23,5 @@ $(window).scroll(function() { | ||
22 | return; | 23 | return; |
23 | } | 24 | } |
24 | }); | 25 | }); |
25 | -ajaxCurrencyDetail(page) | ||
26 | + | ||
27 | +ajaxCurrencyDetail(page); |
-
Please register or login to post a comment