Browse Source

Resize fix

Nathaniel van Diepen 11 years ago
parent
commit
4ec07cac08
1 changed files with 2 additions and 3 deletions
  1. 2 3
      js/index.js

+ 2 - 3
js/index.js

@@ -242,10 +242,9 @@
 			$('#topbar div.topbar-right, #topbar div.topbar-left').css({
 				'display': ''
 			});
-		}else{
-			$('#content').height($('body').height()-$('#topbar').height());
-			$('#content').getNiceScroll().resize();
 		}
+		$('#content').height($('body').height()-$('#topbar').height());
+		$('#content').getNiceScroll().resize();
 	}).resize();
 	$('#topbar').resize(function(){
 		$(window).resize();