fix: move debug mode toggle to proper settings location
The debug toggle was incorrectly added to settings.html (SillyTavern Extensions tab). It should be in template.html (RPG Companion Settings popup) where all the other extension settings are. Changes: - template.html: Added debug mode checkbox in Display Options section - index.js: Added event listener and initial state setter - settings.html: Removed incorrect debug toggle placement Now users can find the debug toggle by clicking the gear icon in the RPG panel, under Display Options, right below "Show Plot Progression Buttons".
This commit is contained in:
@@ -11,12 +11,6 @@
|
||||
</label>
|
||||
<small class="notes">Toggle to enable/disable the RPG Companion extension. Configure additional settings within the panel itself.</small>
|
||||
|
||||
<label class="checkbox_label" for="rpg-debug-mode" style="margin-top: 10px;">
|
||||
<input type="checkbox" id="rpg-debug-mode" />
|
||||
<span>🔍 Debug Mode (Mobile-Friendly)</span>
|
||||
</label>
|
||||
<small class="notes">Enable debug logging visible in UI. Useful for troubleshooting parsing issues on mobile devices. Shows a red bug button to view parser logs.</small>
|
||||
|
||||
<div style="margin-top: 10px; display: flex; gap: 10px;">
|
||||
<a href="https://discord.com/invite/KdAkTg94ME" target="_blank" class="menu_button" style="flex: 1; text-align: center; text-decoration: none;">
|
||||
<i class="fa-brands fa-discord"></i> Discord
|
||||
|
||||
Reference in New Issue
Block a user