]> git.sesse.net Git - pr0n/commitdiff
Unbreak immersive mode.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 28 Nov 2015 00:45:35 +0000 (01:45 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 28 Nov 2015 00:45:35 +0000 (01:45 +0100)
files/pr0n-fullscreen.js

index 293f9a0d63343add4bd414046a210673175675d2..80977cebf1248fe4745002a9bcbde570e00c674e 100644 (file)
@@ -331,6 +331,7 @@ function toggle_optionmenu()
                set_opacity("options", 0.7);
        }
 }
+window['toggle_optionmenu'] = toggle_optionmenu;
 
 function draw_text(msg)
 {
@@ -462,6 +463,7 @@ function toggle_immersive() {
        }
        relayout();
 }
+window['toggle_immersive'] = toggle_immersive;
 
 window.onload = function() {
        relayout();