1
1
Fork 0

Add postprocess_liveupdate JS event dispatch on post preview

This commit is contained in:
Hypolite Petovan 2018-09-20 21:03:23 -04:00
parent 73c1ebc6fd
commit cc73aec3ba

View file

@ -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"