mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
character list grid display toggle
This commit is contained in:
@@ -742,10 +742,22 @@ function loadPowerUserSettings(settings, data) {
|
||||
switchWaifuMode();
|
||||
switchSpoilerMode();
|
||||
loadMovingUIState();
|
||||
loadCharListState();
|
||||
|
||||
//console.log(power_user)
|
||||
}
|
||||
|
||||
async function loadCharListState() {
|
||||
if (document.getElementById('CharID0') !== null) {
|
||||
if (power_user.charListGrid === true) {
|
||||
$("#charListGridToggle").trigger('click')
|
||||
}
|
||||
} else {
|
||||
await delay(100)
|
||||
loadCharListState();
|
||||
}
|
||||
}
|
||||
|
||||
function loadMovingUIState() {
|
||||
if (isMobile() === false
|
||||
&& power_user.movingUIState
|
||||
|
Reference in New Issue
Block a user