Merge pull request #15 from dgelvin/patch-1

More missing semicolons
This commit is contained in:
David Miller
2014-12-12 15:00:51 -05:00

View File

@@ -12,10 +12,10 @@ $(function() {
topOffset = 50; topOffset = 50;
width = (this.window.innerWidth > 0) ? this.window.innerWidth : this.screen.width; width = (this.window.innerWidth > 0) ? this.window.innerWidth : this.screen.width;
if (width < 768) { if (width < 768) {
$('div.navbar-collapse').addClass('collapse') $('div.navbar-collapse').addClass('collapse');
topOffset = 100; // 2-row-menu topOffset = 100; // 2-row-menu
} else { } else {
$('div.navbar-collapse').removeClass('collapse') $('div.navbar-collapse').removeClass('collapse');
} }
height = (this.window.innerHeight > 0) ? this.window.innerHeight : this.screen.height; height = (this.window.innerHeight > 0) ? this.window.innerHeight : this.screen.height;
@@ -24,5 +24,5 @@ $(function() {
if (height > topOffset) { if (height > topOffset) {
$("#page-wrapper").css("min-height", (height) + "px"); $("#page-wrapper").css("min-height", (height) + "px");
} }
}) });
}); });