Browse Source

Close #4: Make delete button red

tags/v1.1.0
Skylar Ittner 10 months ago
parent
commit
f62d935431
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      www/js/home.js

+ 2
- 1
www/js/home.js View File

@@ -235,6 +235,7 @@ function openNoteActionMenu(notecard) {
// },
{
text: "Delete",
color: "red",
icon: '<i class="fas fa-trash fa-fw"></i>',
onClick: function () {
deleteNote(noteid);
@@ -256,7 +257,7 @@ function openNoteActionMenu(notecard) {
'<li><a class="list-button item-link color-note-btn" data-note="' + noteid + '"><i class="fas fa-palette fa-fw"></i> Color</a></li>' +
'<li><a class="list-button item-link favorite-note-btn" data-note="' + noteid + '"><i class="fas fa-star-half-alt fa-fw"></i> Favorite</a></li>' +
//'<li><a class="list-button item-link listify-note-btn" data-note="' + noteid + '"><i class="fas fa-tasks fa-fw"></i> Make a List</a></li>' +
'<li><a class="list-button item-link delete-note-btn" data-note="' + noteid + '"><i class="fas fa-trash fa-fw"></i> Delete</a></li>' +
'<li><a class="list-button item-link delete-note-btn text-color-red" data-note="' + noteid + '"><i class="fas fa-trash fa-fw"></i> Delete</a></li>' +
'</ul>' +
'</div>' +
'</div>' +

Loading…
Cancel
Save