Skip to content

Commit

Permalink
Wait before calling resize
Browse files Browse the repository at this point in the history
  • Loading branch information
ghusse committed May 31, 2012
1 parent bd0bfb4 commit 98f4650
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion demo/demo.js
Expand Up @@ -28,7 +28,9 @@

$("#themeCSS").attr("href", path + theme + ".css");

$(window).resize();
setTimeout(function(){
$(window).resize();
}, 500);
}

function initTheme(){
Expand Down

0 comments on commit 98f4650

Please sign in to comment.