Skip to content

Commit

Permalink
vertical scrollbar update
Browse files Browse the repository at this point in the history
  • Loading branch information
David Miller committed Dec 29, 2014
1 parent 1d5e9a7 commit 1b32bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/js/sb-admin-2.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1b32bd9

Please sign in to comment.