aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js/main.js')
-rw-r--r--view/js/main.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 04b317914..d6d1238d4 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -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');
+ }
+}