summaryrefslogtreecommitdiff
path: root/views/new-repost.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/new-repost.php')
-rw-r--r--views/new-repost.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/new-repost.php b/views/new-repost.php
index a60b8ea..354083b 100644
--- a/views/new-repost.php
+++ b/views/new-repost.php
@@ -30,8 +30,7 @@ $(function(){
$.post("/repost", {
url: $("#note_url").val()
- }, function(data){
- var response = JSON.parse(data);
+ }, function(response){
if(response.location != false) {