Issue #263 - dont display ajax loader on commit page if commits < limit

This commit is contained in:
Dmitriy Zaporozhets 2011-11-27 10:36:28 +02:00
parent 814eeb45e6
commit 32ebd438c2
2 changed files with 8 additions and 7 deletions

View file

@ -20,7 +20,8 @@
.loading{ :style => "display:none;"}
%center= image_tag "ajax-loader.gif"
:javascript
$(function(){
CommitsList.init("#{@ref}", 20);
});
- if @commits.count == @limit
:javascript
$(function(){
CommitsList.init("#{@ref}", 20);
});