make fullscreen mode available for other modules and some cleanup
This commit is contained in:
@@ -1451,3 +1451,16 @@ function zid(s) {
|
||||
|
||||
return s;
|
||||
}
|
||||
|
||||
function makeFullScreen(full) {
|
||||
if(typeof full=='undefined' || full == true) {
|
||||
$('#fullscreen, aside').hide();
|
||||
$('#inline').show();
|
||||
$('.generic-content-wrapper').addClass('fullscreen');
|
||||
}
|
||||
else {
|
||||
$('#fullscreen, aside').show();
|
||||
$('#inline').hide();
|
||||
$('.generic-content-wrapper').removeClass('fullscreen');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user