From a77a1c07f3e5832a58e6e0618db15206f0867d6a Mon Sep 17 00:00:00 2001 From: Matias De lellis Date: Mon, 6 May 2019 09:47:21 -0300 Subject: [PATCH] Unset filter color when select a note.. --- js/script.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/script.js b/js/script.js index 326a164..05457c1 100644 --- a/js/script.js +++ b/js/script.js @@ -614,7 +614,11 @@ View.prototype = { $('.notes-grid').isotope({ filter: function() { var itemId = parseInt($(this).children().data('id'), 10); return id == itemId; - } }); + }}); + var oldColorTool = $('#app-navigation .circle-toolbar.icon-checkmark'); + $.each(oldColorTool, function(i, oct) { + $(oct).removeClass('icon-checkmark'); + }); }); // Handle colors.