mirror of
https://github.com/friendica/friendica
synced 2025-04-23 07:10:14 +00:00
bypass D* markdown bug for now
This commit is contained in:
parent
3bdcb52471
commit
a13156c0f3
5 changed files with 31 additions and 3 deletions
19
js/main.js
19
js/main.js
|
@ -433,6 +433,25 @@
|
|||
|
||||
|
||||
|
||||
function preview_post() {
|
||||
$("#jot-preview").val("1");
|
||||
$("#jot-preview-content").show();
|
||||
tinyMCE.triggerSave();
|
||||
$.post(
|
||||
"item",
|
||||
$("#profile-jot-form").serialize(),
|
||||
function(data) {
|
||||
if(data.preview) {
|
||||
$("#jot-preview-content").html(data.preview);
|
||||
$("#jot-preview-content" + " a").removeAttr('href');
|
||||
}
|
||||
},
|
||||
"json"
|
||||
);
|
||||
$("#jot-preview").val("1");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
function unpause() {
|
||||
// unpause auto reloads if they are currently stopped
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue