BugFix for "Show more repositories" link
1 parent 5e84221 commit dd23d1109b0bc251c3832366e74bf3ac71147bf9
@Naoki Takezoe Naoki Takezoe authored on 27 Mar 2016
Showing 2 changed files
View
9
src/main/twirl/gitbucket/core/dashboard/sidebar.scala.html
<div class="dashboard-content">
@body
</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
8
src/main/twirl/gitbucket/core/index.scala.html
</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>