diff --git a/views/new-post.php b/views/new-post.php index 3321c25..748dc0b 100644 --- a/views/new-post.php +++ b/views/new-post.php @@ -254,7 +254,7 @@ $(function(){ }); $("#remove_photo").on("click", function(){ $("#note_photo").val(""); - $("#note_photo_url").val(""); + $(".note_photo_url").val(""); $("#photo_preview").attr("src", "" ); $("#photo_preview_container").addClass("hidden"); saveNoteState();