diff --git a/imagehosting/templates/imagehosting/all.html b/imagehosting/templates/imagehosting/all.html index d810e10..b49a10e 100644 --- a/imagehosting/templates/imagehosting/all.html +++ b/imagehosting/templates/imagehosting/all.html @@ -12,7 +12,8 @@ // $(function() {resizer(); }) // $(window).load(resizer();) // jQuery promises API - $('img').promise().progress(function(p){ + var progrs = $('img') + progrs.promise().progress(function(p){ alert("Операция выполнена на " + p + " процентов"); }). done(function(){