From 6f2b567efe09305266729d8bec6248ea36f599bb Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Mon, 22 Jul 2024 19:50:06 +0300 Subject: [PATCH] Allow toggling moving UI on any device (you still won't be able to use it) --- public/css/mobile-styles.css | 4 ++++ public/script.js | 8 -------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/public/css/mobile-styles.css b/public/css/mobile-styles.css index dca2c8fe8..1aef0fde6 100644 --- a/public/css/mobile-styles.css +++ b/public/css/mobile-styles.css @@ -5,6 +5,10 @@ width: unset; } + #sheldWidthToggleBlock { + display: none; + } + .bg_button { font-size: 15px; } diff --git a/public/script.js b/public/script.js index cf86cd02e..3607eca78 100644 --- a/public/script.js +++ b/public/script.js @@ -8961,14 +8961,6 @@ API Settings: ${JSON.stringify(getSettingsContents[getSettingsContents.main_api } jQuery(async function () { - - if (isMobile()) { - console.debug('hiding movingUI and sheldWidth toggles for mobile'); - $('#sheldWidthToggleBlock').hide(); - $('#movingUIModeCheckBlock').hide(); - - } - async function doForceSave() { await saveSettings(); await saveChatConditional();