mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 08:35:14 +00:00
Update main.js
still testing
This commit is contained in:
parent
0b4a2176b3
commit
e2027339a0
1 changed files with 5 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue