diff options
author | Aaron Parecki <aaron@parecki.com> | 2016-10-19 11:25:48 -0700 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2016-10-19 11:25:48 -0700 |
commit | 4f20fa3c74a652d809491d1db94b56eb1902519a (patch) | |
tree | 772c90d8dbe02a486153ca5cab905962b2399b9e | |
parent | 84e0aa6237060eeb6bb6ecc7cb39a01c9ab8d894 (diff) |
fix removing photo url
-rw-r--r-- | views/new-post.php | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |