vertical scrollbar update

This commit is contained in:
David Miller
2014-12-28 22:53:17 -05:00
parent 1d5e9a7a1c
commit 1b32bd9b1e

View File

@@ -18,7 +18,7 @@ $(function() {
$('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) - 1;
height = height - topOffset;
if (height < 1) height = 1;
if (height > topOffset) {