diff options
Diffstat (limited to 'app/views/projects/index.js.haml')
-rw-r--r-- | app/views/projects/index.js.haml | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/app/views/projects/index.js.haml b/app/views/projects/index.js.haml index 9b990734f3a..25da7cb4202 100644 --- a/app/views/projects/index.js.haml +++ b/app/views/projects/index.js.haml @@ -1,7 +1,2 @@ -- if params[:replace] - :plain - ProjectsList.replace(#{@projects.count}, "#{escape_javascript(render(:partial => 'projects/tile'))}"); -- else - :plain - ProjectsList.append(#{@projects.count}, "#{escape_javascript(render(:partial => 'projects/tile'))}"); - +:plain + ProjectsList.append(#{@projects.count}, "#{escape_javascript(render(:partial => 'projects/tile'))}"); |