Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed unbound variable in application::view.js

  • Loading branch information...
commit d7beab13aca8b338a3754dbb7f45e648b86b5eb1 1 parent a1703cb
@Artazor Artazor authored
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();
Please sign in to comment.
Something went wrong with that request. Please try again.