mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 12:55:19 +00:00
fix
This commit is contained in:
parent
3a3764bf68
commit
4044d80024
1 changed files with 1 additions and 2 deletions
|
|
@ -360,10 +360,9 @@
|
|||
localStorage.sidebar = value;
|
||||
|
||||
// nav element is not available on the first render
|
||||
|
||||
if ($mobile) {
|
||||
const navElement = document.getElementsByTagName('nav')[0];
|
||||
|
||||
if ($mobile) {
|
||||
if (!value) {
|
||||
navElement.style['-webkit-app-region'] = 'drag';
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue