From 50b2b65dc191cc9c61773b1d9b00d388fc865dff Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Tue, 2 Jul 2013 12:47:26 +0000 Subject: [PATCH] check resize every 50ms, more smoother --- experiments/spclient/mkws.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experiments/spclient/mkws.js b/experiments/spclient/mkws.js index b58b945..9d6f28d 100644 --- a/experiments/spclient/mkws.js +++ b/experiments/spclient/mkws.js @@ -585,7 +585,7 @@ function mkws_responsive_design () { $(window).resize( function(e) { if (timeout) clearTimeout(timeout); - timeout = setTimeout(function () { mkws_mobile_resize() }, 100); + timeout = setTimeout(function () { mkws_mobile_resize() }, 50); }); // initial check after page load -- 1.7.10.4