From 034b9b91c3e1efe32d33056a13d6996df304cbb9 Mon Sep 17 00:00:00 2001 From: Castro0o Date: Thu, 29 Mar 2018 18:51:12 +0200 Subject: [PATCH] less heavy background images JS --- 05/images-mwapi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/05/images-mwapi.js b/05/images-mwapi.js index 70552f9..918762a 100644 --- a/05/images-mwapi.js +++ b/05/images-mwapi.js @@ -38,7 +38,7 @@ $.ajax({ -$(window).on("click scroll resize", function(){ +$(document).ready(function(){ var wh = {w: ($(window).width()), h: ($(window).height())} ; place_imgs(wh); })