Allow toggling moving UI on any device

(you still won't be able to use it)
This commit is contained in:
Cohee 2024-07-22 19:50:06 +03:00
parent ce680f8da3
commit 6f2b567efe
2 changed files with 4 additions and 8 deletions

View File

@ -5,6 +5,10 @@
width: unset; width: unset;
} }
#sheldWidthToggleBlock {
display: none;
}
.bg_button { .bg_button {
font-size: 15px; font-size: 15px;
} }

View File

@ -8961,14 +8961,6 @@ API Settings: ${JSON.stringify(getSettingsContents[getSettingsContents.main_api
} }
jQuery(async function () { jQuery(async function () {
if (isMobile()) {
console.debug('hiding movingUI and sheldWidth toggles for mobile');
$('#sheldWidthToggleBlock').hide();
$('#movingUIModeCheckBlock').hide();
}
async function doForceSave() { async function doForceSave() {
await saveSettings(); await saveSettings();
await saveChatConditional(); await saveChatConditional();