aboutsummaryrefslogtreecommitdiffstats
path: root/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/main.js')
-rw-r--r--js/main.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/js/main.js b/js/main.js
index e825d837a..63598f126 100644
--- a/js/main.js
+++ b/js/main.js
@@ -944,4 +944,18 @@ $(window).scroll(function () {
}
});
+var chanviewFullSize = false;
+function chanviewFull() {
+ if(chanviewFullSize) {
+ chanviewFullSize = false;
+ $('#chanview-iframe-border').css({ 'position' : 'relative' });
+ $('#remote-channel').css({ 'position' : 'relative' });
+ }
+ else {
+ chanviewFullSize = true;
+ $('#chanview-iframe-border').css({ 'position' : 'fixed', 'top' : '0', 'left' : '0' });
+ $('#remote-channel').css({ 'position' : 'fixed', 'top' : '0', 'left' : '0' });
+ resize_iframe();
+ }
+}