Skip to content

Commit a3a84d0

Browse files
committed
fix: disable sidebar collapse on logo click on mobile
1 parent dcfed2c commit a3a84d0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

public/js/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,6 +1085,7 @@ async function renderDashboard() {
10851085

10861086
$('#sidebar-logo-link').addEventListener('click', (e) => {
10871087
e.preventDefault();
1088+
if (window.innerWidth <= 768) return;
10881089
toggleSidebarCollapse();
10891090
});
10901091

0 commit comments

Comments
 (0)