Simon,

I'm assuming your class addition to the body element should be toggling as 
I toggle F11?  If so, it's not working here. Your class "tw5-burning-tree" 
once applied, is never removed.  Your console message always says "not 
fullscreen" regardless of the actual state.  Also, your class is never 
applied to the body element of "tc-body tc-single-tiddler-window" windows.

Win 7, Firefox 57.0.3

Codacoder


On Tuesday, January 16, 2018 at 7:26:07 AM UTC-6, Simon Huber wrote:
>
> @Jeremy,
>
> I don't want to bother you too much with this, I've just put something 
> together that works here:
>
> http://tw5fullscreen.tiddlyspot.com
>
> it prevents the F11 key's default event so that we're able to detect the 
> key again when in fullscreen mode, then requests fullscreen and toggles the 
> class. another eventlistener listens for fullscreenchange events and 
> toggles the class
>
> what I need to know for testing and  preparing a pull request if this is 
> reliable is where to put this, would a separate startup module be correct?
>
> thank you,
> Simon
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/c1c65544-850d-4f8a-a3c8-6d680b71e726%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to