From: Wolfram Schneider Date: Tue, 2 Jul 2013 12:47:26 +0000 (+0000) Subject: check resize every 50ms, more smoother X-Git-Tag: 0.9.1~368 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=50b2b65dc191cc9c61773b1d9b00d388fc865dff;p=mkws-moved-to-github.git check resize every 50ms, more smoother --- 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