From 252ebb0eece35d67e54fca34d071b79595a74831 Mon Sep 17 00:00:00 2001 From: Georg Fischer Date: Thu, 12 Sep 2013 20:21:37 +0200 Subject: [PATCH] add timeout when loading second image for firefox responsiveness --- scripts/src/image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/src/image.js b/scripts/src/image.js index dfb7419..563cb3e 100644 --- a/scripts/src/image.js +++ b/scripts/src/image.js @@ -36,7 +36,7 @@ define( image.naturalWidth !== 0 ) { - signals['image-loaded'].dispatch( image ); + setTimeout( imageLoaded, 10 ); } }