Javascript workaround for mobile nag bar
Dieser Commit ist enthalten in:
Ursprung
7d984a2cce
Commit
ab709b924d
13
js/custom.js
13
js/custom.js
@ -7,4 +7,17 @@ $(function() {
|
||||
|
||||
// Bootstrap Table Class
|
||||
$('table').addClass('table');
|
||||
|
||||
var mobileNavWorkaround = function() {
|
||||
if($(window).width()< 768) {
|
||||
$('#sub-nav-collapse').css('height', '0px');
|
||||
} else {
|
||||
$('#sub-nav-collapse').css('height', 'auto');
|
||||
}
|
||||
}
|
||||
|
||||
$(window).resize(function() {
|
||||
mobileNavWorkaround();
|
||||
});
|
||||
mobileNavWorkaround();
|
||||
});
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren