From 4f20fa3c74a652d809491d1db94b56eb1902519a Mon Sep 17 00:00:00 2001
From: Aaron Parecki <aaron@parecki.com>
Date: Wed, 19 Oct 2016 11:25:48 -0700
Subject: fix removing photo url

---
 views/new-post.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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();
-- 
cgit v1.2.3