mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 09:14:48 +09:00
Fix #1556 fix auto-detection of dark mode even when it is disabled
This commit is contained in:
parent
e3fa780295
commit
44ecff5e55
3 changed files with 5 additions and 3 deletions
|
|
@ -96,6 +96,7 @@ var auto_saved_msg = "{$lang->msg_auto_saved}";
|
|||
var editor_skin = '{$colorset}';
|
||||
var editor_color = null;
|
||||
<!--@if($editor_auto_dark_mode)-->
|
||||
$('body').addClass('cke_auto_dark_mode');
|
||||
if (getColorScheme() === 'dark') {
|
||||
if (editor_skin !== 'moono-lisa' ) {
|
||||
editor_skin = 'moono-dark';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue