Permalink
Browse files

Wait before calling resize

  • Loading branch information...
ghusse committed May 31, 2012
1 parent bd0bfb4 commit 98f46507e1287a0d936efbfaa36a29d206cb23df
Showing with 3 additions and 1 deletion.
  1. +3 −1 demo/demo.js
View
@@ -28,7 +28,9 @@
$("#themeCSS").attr("href", path + theme + ".css");
- $(window).resize();
+ setTimeout(function(){
+ $(window).resize();
+ }, 500);
}
function initTheme(){

0 comments on commit 98f4650

Please sign in to comment.