Update main.js

still testing
This commit is contained in:
Ray 2023-02-15 21:24:57 -05:00
parent 0b4a2176b3
commit e2027339a0

View file

@ -1408,6 +1408,8 @@ function importElement(elem) {
return false;
}
function preview_post() {
$("#jot-preview").val("1");
$("#jot-preview-content").show();
@ -1419,6 +1421,9 @@ function preview_post() {
$("#jot-preview-content").html(data.preview);
$("#jot-preview-content .autotime").timeago();
$("#jot-preview-content" + " a").click(function() { return false; });
/* start */
$("#profile-jot-text").html().append(data.preview);
/* stop */
}
},
"json"