overflow should be auto not visible

This commit is contained in:
Mario Vavti 2018-09-07 10:07:29 +02:00
parent 6a338e28b2
commit d31251c54e

View File

@ -7,7 +7,7 @@
$('.notifications-btn').click(function() {
if($('#notifications_wrapper').hasClass('fs')) {
$('#notifications_wrapper').prependTo('#' + notifications_parent);
$('body').css('overflow', 'visible');
$('body').css('overflow', 'auto');
}
else {
$('#notifications_wrapper').prependTo('section');