diff --git a/editions/tw5.com/tiddlers/Features.tid b/editions/tw5.com/tiddlers/Features.tid index 1dc18a44d..2acd4d2f8 100644 --- a/editions/tw5.com/tiddlers/Features.tid +++ b/editions/tw5.com/tiddlers/Features.tid @@ -13,6 +13,7 @@ title: Features * Familiar user interface elements like <$button message="tw-modal" param="SampleWizard" class="btn btn-inverse">wizards and <$button message="tw-notify" param="SampleNotification" class="btn btn-inverse">notifications * Easily [[import|ImportTiddlers]] content via drag and drop, copy and paste, or browsing for local files * TiddlyWiki is [[surprisingly scalable|Scalability]] to many thousands of tiddlers and megabytes of content +* Try out the <$button message="tw-full-screen">full screen support * Explore the [[D3.js visualisation plugin|http://five.tiddlywiki.com/d3demo.html]] * Try out the [[CodeMirror plugin|http://five.tiddlywiki.com/codemirrordemo.html]] * Many internal improvements: diff --git a/plugins/tiddlywiki/fullscreen/init.js b/plugins/tiddlywiki/fullscreen/init.js index c617006a2..fca509c8d 100644 --- a/plugins/tiddlywiki/fullscreen/init.js +++ b/plugins/tiddlywiki/fullscreen/init.js @@ -22,9 +22,9 @@ var toggleFullScreen = function() { exports.startup = function() { // Install the full screen handler - document.addEventListener("tw-full-screen",function(event) { + $tw.rootWidget.addEventListener("tw-full-screen",function(event) { toggleFullScreen(); - },false); + }); }; })();