通知ボタンの動作改造
This commit is contained in:
parent
53f3586643
commit
ac46fefaa3
@ -126,4 +126,21 @@ function toggleAside() {
|
||||
spacer: '#left_aside_spacer'
|
||||
});
|
||||
}
|
||||
$('#notifications-btn-1');
|
||||
if ($('main').hasClass('region_3-on')) {
|
||||
$('html, body').css('overflow-x', '');
|
||||
$('main').removeClass('region_3-on')
|
||||
$('#overlay').remove();
|
||||
$('#right_aside_wrapper').trigger("sticky_kit:detach");
|
||||
}
|
||||
else {
|
||||
$('html, body').css('overflow-x', 'hidden');
|
||||
$('main').addClass('region_3-on')
|
||||
$('<div id="overlay"></div>').appendTo('section');
|
||||
$('#left_aside_wrapper').stick_in_parent({
|
||||
offset_top: $('nav').outerHeight(true) + 10,
|
||||
parent: '#region_3',
|
||||
spacer: '#right_aside_spacer'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user