From 285bda1145370cd70678bb7569bdd28f6b8dd704 Mon Sep 17 00:00:00 2001 From: Toks Date: Tue, 28 May 2013 12:25:35 -0400 Subject: [PATCH] possible fix for #926 --- app/assets/javascripts/notes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js index 3818b4413..2b3c05704 100644 --- a/app/assets/javascripts/notes.js +++ b/app/assets/javascripts/notes.js @@ -420,7 +420,7 @@ Danbooru.Note = { $(this).dialog("close"); }, - delete: function() { + "delete": function() { if (!confirm("Do you really want to delete this note?")) { return } @@ -621,7 +621,7 @@ Danbooru.Note = { Danbooru.Note.Body.display_text($note_body, text); }, - new: function(x, y, w, h) { + "new": function(x, y, w, h) { var $note_box = Danbooru.Note.Box.create(Danbooru.Note.id); var $note_body = Danbooru.Note.Body.create(Danbooru.Note.id); $note_box.css({