On 7/18/2023 1:34 PM, Mindless Automaton wrote:
FYI, setting <!--NO_SIDEBAR:Home--> does not disable the Toggle Sidebar button.
Thanks!
Mindless Automaton
In index.xjs I just wrapped the code for the button in
<? if (!(settings.layout_sidebar_off || page_ctrl.options.no_sidebar)) {?> --->button html here<---
<? } ?>
and that seems to have fixed my issue. Of course it would only affect
someone who was doing weird things to begin with. :)
Thanks!
Mindless Automaton
---
■ Synchronet ■ Eldritch Clockwork
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)