BugFix for "Show more repositories" link

This commit is contained in:
Naoki Takezoe
2016-03-28 08:35:32 +09:00
parent 5e84221d39
commit dd23d1109b
2 changed files with 9 additions and 9 deletions

View File

@@ -63,3 +63,11 @@
@body @body
</div> </div>
</div> </div>
<script>
$(function(){
$('#show-more-repos, #show-more-recent-repos').click(function(e){
$(e.target).parents('ul.list-group').find('li.repo-link').show();
$(e.target).parents('li.show-more').remove();
});
});
</script>

View File

@@ -22,11 +22,3 @@
</div> </div>
} }
} }
<script>
$(function(){
$('#show-more-repos, #show-more-recent-repos').click(function(e){
$(e.target).parents('ul.list-group').find('li.repo-link').show();
$(e.target).parents('li.show-more').remove();
});
});
</script>