Performance optimizations for character edit / chat opening

This commit is contained in:
Cohee1207
2023-08-19 15:58:17 +03:00
parent 3acd0a590e
commit 991ff98eaa
8 changed files with 62 additions and 86 deletions

View File

@ -812,7 +812,7 @@ function loadPowerUserSettings(settings, data) {
}
async function loadCharListState() {
if (document.getElementById('CharID0') !== null) {
if (document.querySelector('.character_select') !== null) {
console.debug('setting charlist state to...')
if (power_user.charListGrid === true) {
console.debug('..to grid')