fix webpages widgets

This commit is contained in:
Mario Vavti
2017-03-20 22:39:29 +01:00
parent 837efcf5e7
commit cbcd195461
4 changed files with 57 additions and 80 deletions

View File

@@ -74,12 +74,12 @@ $(document).ready(function() {
function makeFullScreen(full) {
if(typeof full=='undefined' || full == true) {
$('main').addClass('fullscreen');
$('header, nav, aside, #fullscreen-btn').css({'visibility': 'hidden'});
$('header, nav, aside, #fullscreen-btn').hide();
$('#inline-btn').show();
}
else {
$('main').removeClass('fullscreen');
$('header, nav, aside, #fullscreen-btn').css({'visibility': ''});
$('header, nav, aside, #fullscreen-btn').show();
$('#inline-btn').hide();
$(document.body).trigger("sticky_kit:recalc");
}