vertical scrollbar update
This commit is contained in:
2
dist/js/sb-admin-2.js
vendored
2
dist/js/sb-admin-2.js
vendored
@@ -18,7 +18,7 @@ $(function() {
|
|||||||
$('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) - 1;
|
||||||
height = height - topOffset;
|
height = height - topOffset;
|
||||||
if (height < 1) height = 1;
|
if (height < 1) height = 1;
|
||||||
if (height > topOffset) {
|
if (height > topOffset) {
|
||||||
|
|||||||
Reference in New Issue
Block a user