aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-04-01 08:56:51 +0200
committerMario Vavti <mario@mariovavti.com>2016-04-01 08:56:51 +0200
commit60bb8f25f7bd1e857f8e70769b83f9c75521db29 (patch)
tree79b4502a80ef25a596d8355fa02c608b025696c7 /view/js
parentc6d9100649a4bea9ee37780811a8235ca0f7f80a (diff)
downloadvolse-hubzilla-60bb8f25f7bd1e857f8e70769b83f9c75521db29.tar.gz
volse-hubzilla-60bb8f25f7bd1e857f8e70769b83f9c75521db29.tar.bz2
volse-hubzilla-60bb8f25f7bd1e857f8e70769b83f9c75521db29.zip
move fullscreen js code to redbasic.js where it belongs to
Diffstat (limited to 'view/js')
-rw-r--r--view/js/main.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 4e99bf1aa..04b317914 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1451,18 +1451,3 @@ function zid(s) {
return s;
}
-
-function makeFullScreen(full) {
- if(typeof full=='undefined' || full == true) {
- $('#fullscreen-btn, header, nav, aside').hide();
- $('main').css({'width': '100%', 'max-width': 'none'});
- $('#inline-btn').show();
- $('.generic-content-wrapper').addClass('fullscreen');
- }
- else {
- $('#fullscreen-btn, header, nav, aside').show();
- $('main').removeAttr('style');
- $('#inline-btn').hide();
- $('.generic-content-wrapper').removeClass('fullscreen');
- }
-}