Skip to content

Commit

Permalink
Fixes #234
Browse files Browse the repository at this point in the history
  • Loading branch information
devgeeks committed Dec 2, 2015
1 parent 5a1afd0 commit 140ee07
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/views/EntryView.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
return this;
},
showEditDelete: function() {
if ($('.entry li').length > 3) {
if (!$('.loadingEntries').length) {
$(".nav .edit-btn.right").removeClass("hidden");
$(".nav .delete-btn").removeClass("hidden");
}
Expand Down Expand Up @@ -163,9 +163,7 @@
window.app.mainView.backButtonDisplay(true);
$(".nav .btn.right").addClass("hidden");
window.setTimeout(function() {
if ($('.entry li').length > 3) {
_this.showEditDelete();
}
_this.showEditDelete();
},200);
window.app.mainView.setTitle(_this.model.get("type"));
},
Expand Down

0 comments on commit 140ee07

Please sign in to comment.