1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-01-12 04:23:24 +02:00
This commit is contained in:
Constantin Wildförster 2017-09-10 16:11:55 +02:00
parent 3ab6fc21c6
commit 65deb45f68
No known key found for this signature in database
GPG Key ID: D20CD58DA82AB987

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);