Showing
2 changed files
with
19 additions
and
3 deletions
@@ -72,3 +72,21 @@ if ($('#list-nav').length > 0) { | @@ -72,3 +72,21 @@ if ($('#list-nav').length > 0) { | ||
72 | el: '#list-nav' | 72 | el: '#list-nav' |
73 | }).goto(0); | 73 | }).goto(0); |
74 | } | 74 | } |
75 | + | ||
76 | +if ($('.back-ground-white').length > 10) { | ||
77 | + $('.more-activity').show(); | ||
78 | + $('.back-ground-white').each(function(index, e) { | ||
79 | + if(index > 9) { | ||
80 | + e.hide(); | ||
81 | + } | ||
82 | + }); | ||
83 | +} | ||
84 | + | ||
85 | +$('.more-activity').click(function() { | ||
86 | + $('.more-activity').hide(); | ||
87 | + $('.back-ground-white').each(function(index, e) { | ||
88 | + if(index > 9) { | ||
89 | + e.show(); | ||
90 | + } | ||
91 | + }); | ||
92 | +}); |
-
Please register or login to post a comment