Permalink
Browse files

Fixed unbound variable in application::view.js

  • Loading branch information...
1 parent a1703cb commit d7beab13aca8b338a3754dbb7f45e648b86b5eb1 @Artazor Artazor committed May 14, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 common/application/view.js
View
3 common/application/view.js
@@ -6,13 +6,14 @@ var $document = $(document)
;
function updateLayout() {
- clientHeight = $document.height()-$header.height()-$footer.height();
+ var clientHeight = $document.height()-$header.height()-$footer.height();
$content.height(clientHeight);
$menu.height(clientHeight);
}
var lazyLayout = _.debounce(updateLayout, 300);
$(window).resize(updateLayout);
+$(window).resize(updateLayout);
updateLayout();

0 comments on commit d7beab1

Please sign in to comment.