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