Add postprocess_liveupdate JS event dispatch on post preview
This commit is contained in:
parent
73c1ebc6fd
commit
cc73aec3ba
|
@ -667,6 +667,7 @@ function preview_post() {
|
|||
if (data.preview) {
|
||||
$("#jot-preview-content").html(data.preview);
|
||||
$("#jot-preview-content" + " a").click(function() {return false;});
|
||||
document.dispatchEvent(new Event('postprocess_liveupdate'));
|
||||
}
|
||||
},
|
||||
"json"
|
||||
|
|
Loading…
Reference in a new issue