Merge pull request #572 from cwildfoerster/fix-562

fixes #562
master
André Peters 2017-09-10 17:56:57 +02:00 committed by GitHub
commit 0fd54e6be2
1 changed files with 6 additions and 2 deletions

View File

@ -591,8 +591,12 @@ $(window).load(function(){
}); });
}); });
$(window).on('resize', function(){ function resizeScrollbox() {
on_resize_width = $("#sidebar-admin").width(); on_resize_width = $("#sidebar-admin").width();
$("#scrollbox").removeAttr("style"); $("#scrollbox").removeAttr("style");
$("#scrollbox").css("width", on_resize_width); $("#scrollbox").css("width", on_resize_width);
}); }
$(window).on('resize', resizeScrollbox);
$('a[data-toggle="tab"]').on('shown.bs.tab', resizeScrollbox);