Fix pin note..

This commit is contained in:
Matias De lellis
2020-09-19 18:04:02 -03:00
parent 80ed5f59ad
commit d316392dfd
2 changed files with 2 additions and 3 deletions

View File

@@ -390,7 +390,7 @@ View.prototype = {
var id = parseInt(gridNote.data('id'), 10);
var note = self._notes.read(id);
note.pinned = true;
note.isPinned = true;
self._notes.update(note).done(function () {
icon.removeClass("hide-header-icon");
@@ -413,7 +413,7 @@ View.prototype = {
var id = parseInt(gridNote.data('id'), 10);
var note = self._notes.read(id);
note.pinned = false;
note.isPinned = false;
self._notes.update(note).done(function () {
icon.removeClass("fixed-header-icon");