diff --git a/plugins/tiddlywiki/fullscreen/init.js b/plugins/tiddlywiki/fullscreen/init.js index 7eb5a7503..58de69854 100644 --- a/plugins/tiddlywiki/fullscreen/init.js +++ b/plugins/tiddlywiki/fullscreen/init.js @@ -37,9 +37,11 @@ var toggleFullscreen = function() { exports.startup = function() { // Install the full screen handler - $tw.rootWidget.addEventListener("tw-full-screen",function(event) { - toggleFullscreen(); - }); + if(_requestFullscreen) { + $tw.rootWidget.addEventListener("tw-full-screen",function(event) { + toggleFullscreen(); + }); + } }; })();