From 84e0aa6237060eeb6bb6ecc7cb39a01c9ab8d894 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Wed, 19 Oct 2016 11:23:34 -0700 Subject: fix replacing photo upload form with uploaded photo --- views/new-post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views') diff --git a/views/new-post.php b/views/new-post.php index 6458446..3321c25 100644 --- a/views/new-post.php +++ b/views/new-post.php @@ -183,7 +183,7 @@ function restoreNoteState() { function replacePhotoWithPhotoURL(url) { $("#note_photo").after(''); - $("#note_photo_url").val(url); + $(".note_photo_url").val(url); $("#note_photo").remove(); $("#photo_preview").attr("src", url); $("#photo_preview_container").removeClass("hidden"); -- cgit v1.2.3