summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2016-10-19 11:25:48 -0700
committerAaron Parecki <aaron@parecki.com>2016-10-19 11:25:48 -0700
commit4f20fa3c74a652d809491d1db94b56eb1902519a (patch)
tree772c90d8dbe02a486153ca5cab905962b2399b9e /views
parent84e0aa6237060eeb6bb6ecc7cb39a01c9ab8d894 (diff)
fix removing photo url
Diffstat (limited to 'views')
-rw-r--r--views/new-post.php2
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();