Ox.ImageElement: trigger load event

This commit is contained in:
rolux 2015-02-06 06:22:42 +00:00
parent b69f125b97
commit 8a58849a22

View file

@ -66,6 +66,7 @@ Ox.ImageElement = function(options, self) {
function showImage() { function showImage() {
self.$screen.stop().remove(); self.$screen.stop().remove();
self.$image.appendTo(that); self.$image.appendTo(that);
that.triggerEvent('load');
} }
function stopLoading() { function stopLoading() {