mirror of
https://github.com/Wx-2025/ST-Amily2-Chat-Optimisation.git
synced 2026-06-06 13:55:51 +00:00
Update table-bindings.js
This commit is contained in:
@@ -1715,8 +1715,10 @@ function bindChatTableDisplaySetting() {
|
||||
return;
|
||||
}
|
||||
|
||||
// Initialize the toggle state from settings
|
||||
toggle.checked = settings.show_table_in_chat === true;
|
||||
|
||||
// Add event listener to update settings on change
|
||||
toggle.addEventListener('change', () => {
|
||||
settings.show_table_in_chat = toggle.checked;
|
||||
saveSettingsDebounced();
|
||||
|
||||
Reference in New Issue
Block a user