From afff9ada2db0c590e813d3d25fc95cab14885354 Mon Sep 17 00:00:00 2001 From: Matias De lellis Date: Sun, 29 May 2016 18:25:08 -0300 Subject: [PATCH] D'Oh! Again. Show all when remove a note. Put add note as first option of navigation. --- js/script.js | 1 + templates/part.navigation.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/script.js b/js/script.js index fbec51a..0e3b411 100644 --- a/js/script.js +++ b/js/script.js @@ -308,6 +308,7 @@ View.prototype = { if (self._notes.length() > 0) { $(".notes-grid").isotope('remove', note.parent()) .isotope('layout'); + self.showAll(); self.renderNavigation(); } else { self.render(); diff --git a/templates/part.navigation.php b/templates/part.navigation.php index 90ac483..baf06ca 100644 --- a/templates/part.navigation.php +++ b/templates/part.navigation.php @@ -2,8 +2,8 @@