aboutsummaryrefslogtreecommitdiffstats
path: root/js/main.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-01-09 20:03:00 -0800
committerfriendica <info@friendica.com>2012-01-09 20:03:00 -0800
commit7011f71e8f3e6de89dae2d46d4dece0d02a78351 (patch)
tree7f4ce9f6fe93254e58eebdc631b062ec42176135 /js/main.js
parent805eb35a1af7c760f317c7f96816a770a4388e29 (diff)
downloadvolse-hubzilla-7011f71e8f3e6de89dae2d46d4dece0d02a78351.tar.gz
volse-hubzilla-7011f71e8f3e6de89dae2d46d4dece0d02a78351.tar.bz2
volse-hubzilla-7011f71e8f3e6de89dae2d46d4dece0d02a78351.zip
post preview
Diffstat (limited to 'js/main.js')
-rw-r--r--js/main.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/main.js b/js/main.js
index be6b5dbae..a156dbadd 100644
--- a/js/main.js
+++ b/js/main.js
@@ -423,7 +423,7 @@
if(data.preview) {
$("#comment-edit-preview-" + id).html(data.preview);
- $("#comment-edit-preview-" + id + " a").removeAttr('href');
+ $("#comment-edit-preview-" + id + " a").click(function() { return false; });
}
},
"json"
@@ -443,12 +443,12 @@
function(data) {
if(data.preview) {
$("#jot-preview-content").html(data.preview);
- $("#jot-preview-content" + " a").removeAttr('href');
+ $("#jot-preview-content" + " a").click(function() { return false; });
}
},
"json"
);
- $("#jot-preview").val("1");
+ $("#jot-preview").val("0");
return true;
}