This commit is contained in:
harukin 2018-11-20 22:30:31 +09:00
parent 935215136d
commit 2731678878

View File

@ -17,14 +17,16 @@ $(document).ready(function () {
} }
$('#css3-calc').remove(); // Remove the test element $('#css3-calc').remove(); // Remove the test element
if ($(window).width() >= 992) { /*if ($(window).width() >= 992) {
$('#left_aside_wrapper, #right_aside_wrapper').stick_in_parent({ $('#left_aside_wrapper, #right_aside_wrapper').stick_in_parent({
offset_top: parseInt($('aside').css('padding-top')), offset_top: parseInt($('aside').css('padding-top')),
parent: 'main', parent: 'main',
/*spacer: '.aside_spacer'*/ spacer: '.aside_spacer'
}); });
} }*/
$('#right_aside_wrapper').css('position', 'fixed');
$('#right_aside_wrapper').css('top', '63px');
$('#right_aside_wrapper').css('width', '274px');
$('#expand-aside').on('click', toggleAside); $('#expand-aside').on('click', toggleAside);
$('section').on('click', function () { $('section').on('click', function () {