From 157682be64d6e5ee45fd685bec8091b2b189f1c9 Mon Sep 17 00:00:00 2001 From: Anna Date: Tue, 27 Mar 2018 20:29:39 +0300 Subject: [PATCH] upd --- imagehosting/templates/imagehosting/all.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imagehosting/templates/imagehosting/all.html b/imagehosting/templates/imagehosting/all.html index 3dc7fe8..cc507a8 100644 --- a/imagehosting/templates/imagehosting/all.html +++ b/imagehosting/templates/imagehosting/all.html @@ -12,9 +12,9 @@ // $(function() {resizer(); }) // $(window).load(resizer();) // jQuery promises API - $('img').promise().done(function() {console.log('done');}); + $('img').promise().done(function() {resizer(); console.log('done');}); - $(window).on("load", function() {resizer(); }); + // $(window).on("load", function() {resizer(); }); $(window).resize(function() { resizer(); }) function resizer() {