Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix width detect math ... again

  • Loading branch information...
commit 3d6a5b8d0fe96540268841e8066566a0949d6e23 1 parent 72c4daf
@evenwu authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 source/javascripts/all.js
View
4 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" );
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.