$('.wall-item-body', data).imagesLoaded(function() {
updateConvItems(data);
+ document.dispatchEvent(new Event('postprocess_liveupdate'));
+
// Update the scroll position.
$(window).scrollTop($(window).scrollTop() + $("section").height() - orgHeight);
});
-
- callAddonHooks("postprocess_liveupdate");
-
});
-
}
function imgbright(node) {
if (data.preview) {
$("#jot-preview-content").html(data.preview);
$("#jot-preview-content" + " a").click(function() {return false;});
+ document.dispatchEvent(new Event('postprocess_liveupdate'));
}
},
"json"
} else {
$("#scroll-end").fadeIn('normal');
}
+
+ document.dispatchEvent(new Event('postprocess_liveupdate'));
});
}