mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Don't trim long titles, and show them in more lines.
Reserve space for header icons, and so no layout occur when show that icons.
This commit is contained in:
@@ -361,7 +361,7 @@ View.prototype = {
|
||||
$('#notes-grid-div').on("click", ".icon-delete-note", function (event) {
|
||||
event.stopPropagation();
|
||||
|
||||
var gridnote = $(this).parent().parent().parent();
|
||||
var gridnote = $(this).parent().parent();
|
||||
var id = parseInt(gridnote.attr('data-id'), 10);
|
||||
|
||||
var note = self._notes.read(id);
|
||||
@@ -408,7 +408,7 @@ View.prototype = {
|
||||
event.stopPropagation();
|
||||
|
||||
var icon = $(this);
|
||||
var gridNote = icon.parent().parent().parent();
|
||||
var gridNote = icon.parent().parent();
|
||||
var id = parseInt(gridNote.attr('data-id'), 10);
|
||||
|
||||
var note = self._notes.read(id);
|
||||
@@ -432,7 +432,7 @@ View.prototype = {
|
||||
event.stopPropagation();
|
||||
|
||||
var icon = $(this);
|
||||
var gridNote = icon.parent().parent().parent();
|
||||
var gridNote = icon.parent().parent();
|
||||
var id = parseInt(gridNote.attr('data-id'), 10);
|
||||
|
||||
var note = self._notes.read(id);
|
||||
|
||||
Reference in New Issue
Block a user