mirror of
https://github.com/friendica/friendica
synced 2025-04-21 17:50:11 +00:00
Add postprocess_liveupdate JS event dispatch on post preview
This commit is contained in:
parent
73c1ebc6fd
commit
cc73aec3ba
1 changed files with 1 additions and 0 deletions
|
@ -667,6 +667,7 @@ function preview_post() {
|
||||||
if (data.preview) {
|
if (data.preview) {
|
||||||
$("#jot-preview-content").html(data.preview);
|
$("#jot-preview-content").html(data.preview);
|
||||||
$("#jot-preview-content" + " a").click(function() {return false;});
|
$("#jot-preview-content" + " a").click(function() {return false;});
|
||||||
|
document.dispatchEvent(new Event('postprocess_liveupdate'));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"json"
|
"json"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue