File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1097,7 +1097,7 @@ async function UIWindow(options) {
1097
1097
// don't show current user's folder!
1098
1098
if ( shared_user . name === window . user . username )
1099
1099
continue ;
1100
- ht += `<div class="window-sidebar-item disable-user-select ${ options . path === shared_user . path ? 'window-sidebar-item-active' : '' } "
1100
+ ht += `<div class="window-sidebar-item not-sortable disable-user-select ${ options . path === shared_user . path ? 'window-sidebar-item-active' : '' } "
1101
1101
data-path="${ shared_user . path } "
1102
1102
data-sharing-username="${ html_encode ( shared_user . name ) } "
1103
1103
title="${ html_encode ( shared_user . name ) } "
@@ -2413,7 +2413,7 @@ async function UIWindow(options) {
2413
2413
const $sidebar = $ ( el_window ) . find ( '.window-sidebar' ) ;
2414
2414
2415
2415
$sidebar . sortable ( {
2416
- items : '.window-sidebar-item:not(.window-sidebar-title)' , // More specific selector
2416
+ items : '.window-sidebar-item:not(.window-sidebar-title, .not-sortable )' , // More specific selector
2417
2417
connectWith : '.window-sidebar' ,
2418
2418
cursor : 'move' ,
2419
2419
axis : 'y' ,
You can’t perform that action at this time.
0 commit comments