From: Steinar H. Gunderson Date: Sat, 28 Nov 2015 00:45:35 +0000 (+0100) Subject: Unbreak immersive mode. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=8f014a9ddba5ef5567e3f4b4f83a6f2af9339731;hp=1f18555fdef25867cd7e2bedfc6d4ceaeddaa1ca;p=pr0n Unbreak immersive mode. --- diff --git a/files/pr0n-fullscreen.js b/files/pr0n-fullscreen.js index 293f9a0..80977ce 100644 --- a/files/pr0n-fullscreen.js +++ b/files/pr0n-fullscreen.js @@ -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();