Permalink
Browse files

fix width detect math ... again

  • Loading branch information...
evenwu committed Feb 6, 2012
1 parent 72c4daf commit 3d6a5b8d0fe96540268841e8066566a0949d6e23
Showing with 2 additions and 2 deletions.
  1. +2 −2 source/javascripts/all.js
@@ -1,10 +1,10 @@
function initLayout(){
var window_width = $(window).width();
wrapper_width = Math.floor( window_width / 236 ) * 236;
- if ( window_width > 959 ) {
+ if ( window_width > 960 ) {
$('.wrapper').css("width", wrapper_width + "px" );
} else {
- $('.wrapper').css("width", "960px" );
+ $('.wrapper').css("width", "944px" );
}
}

0 comments on commit 3d6a5b8

Please sign in to comment.