Hi Infurnoape > I'm trying to create an edit button template that doesn't reveal unless the > wiki is dirty. Any suggestions?
The dirty state of the wiki isn't stored in a tiddler for the simple reason that if it were, setting the dirty state would change the dirty state recursively. Instead, the dirty state is tracked as a "tc-dirty" class applied to the body tag. So, you should be able to use a CSS definition to hide stuff: body.tc-dirty .my-thing { display: block; } Best wishes Jeremy > > > Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5 > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to tiddlywiki+unsubscr...@googlegroups.com. > To post to this group, send email to tiddlywiki@googlegroups.com. > Visit this group at https://groups.google.com/group/tiddlywiki. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/2jod0282t7fhkpf7ocadt760.1463187074712%40email.android.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/547CA124-491E-4325-85E5-4B77CAABDDE0%40gmail.com. For more options, visit https://groups.google.com/d/optout.