Allow toggling moving UI on any device (you still won't be able to use it)
| @@ -5,6 +5,10 @@ | |||
| 5 | width: unset; | 5 | width: unset; |
| 6 | } | 6 | } |
| 7 | 7 | ||
| 8 | #sheldWidthToggleBlock { | ||
| 9 | display: none; | ||
| 10 | } | ||
| 11 | |||
| 8 | .bg_button { | 12 | .bg_button { |
| 9 | font-size: 15px; | 13 | font-size: 15px; |
| 10 | } | 14 | } |
| @@ -8961,14 +8961,6 @@ API Settings: ${JSON.stringify(getSettingsContents[getSettingsContents.main_api | |||
| 8961 | } | 8961 | } |
| 8962 | 8962 | ||
| 8963 | jQuery(async function () { | 8963 | jQuery(async function () { |
| 8964 | |||
| 8965 | if (isMobile()) { | ||
| 8966 | console.debug('hiding movingUI and sheldWidth toggles for mobile'); | ||
| 8967 | $('#sheldWidthToggleBlock').hide(); | ||
| 8968 | $('#movingUIModeCheckBlock').hide(); | ||
| 8969 | |||
| 8970 | } | ||
| 8971 | |||
| 8972 | async function doForceSave() { | 8964 | async function doForceSave() { |
| 8973 | await saveSettings(); | 8965 | await saveSettings(); |
| 8974 | await saveChatConditional(); | 8966 | await saveChatConditional(); |