From 3e5b89f76d74765cc8d8f115a70fb2a40c8035ca Mon Sep 17 00:00:00 2001 From: DianaXWiki Date: Thu, 4 Dec 2025 16:08:09 +0200 Subject: [PATCH] More robust change --- www/settings/inner.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/settings/inner.js b/www/settings/inner.js index a846685c0..4b412600d 100644 --- a/www/settings/inner.js +++ b/www/settings/inner.js @@ -2010,9 +2010,6 @@ define([ }); cb(labelled); - setTimeout(() => { - editor.refresh(); - }, 10); }, false, true); @@ -2034,6 +2031,9 @@ define([ cat.forEach(function(c) { APP.$rightside.find('.' + c).show(); }); + if (APP.editor) { + APP.editor.refresh(); + } }; var SIDEBAR_ICONS = {