Skip to content

Commit

Permalink
Show mismatches when there is only 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Buijs committed Apr 2, 2012
1 parent b7b9ec3 commit 5fb5f0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/views/over_view.js.coffee
Expand Up @@ -8,7 +8,7 @@ class App.OverView extends Backbone.View
if $('.row.details').length == 1
$('.row.details').toggle()
@text = if $('.row.details:visible').length == 1 then 'Verberg' else 'Toon'
else if @model.get('totalMismatches') > 1
else if @model.get('totalMismatches') > 0
details = new App.DetailsView date: @model.currentDate()
$('.container').append details.render().el
@text = 'Verberg'
Expand Down

0 comments on commit 5fb5f0a

Please sign in to comment.