From 7011f71e8f3e6de89dae2d46d4dece0d02a78351 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 9 Jan 2012 20:03:00 -0800 Subject: post preview --- js/main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js') 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; } -- cgit v1.2.3