Browse Source

Update UITaskbarItem.js

jelveh 4 tháng trước cách đây
mục cha
commit
cd5866dd6b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/gui/src/UI/UITaskbarItem.js

+ 1 - 1
src/gui/src/UI/UITaskbarItem.js

@@ -118,7 +118,7 @@ function UITaskbarItem(options){
     $(el_taskbar_item).on('contextmenu taphold', function(e){
         // seems like the only way to stop sortable is to destroy it
         if(options.sortable) {
-            $('.taskbar').sortable('destroy');
+            $('.taskbar-sortable').sortable('destroy');
         }
 
         e.preventDefault();