From 866a5d280e73e2a34c54f45e7bbc5ea028aaf57f Mon Sep 17 00:00:00 2001 From: Anna Date: Tue, 27 Mar 2018 20:33:55 +0300 Subject: [PATCH] upd --- imagehosting/templates/imagehosting/all.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(){