Parcourir la source

Update UITaskbarItem.js

jelveh il y a 4 mois
Parent
commit
cd5866dd6b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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){
     $(el_taskbar_item).on('contextmenu taphold', function(e){
         // seems like the only way to stop sortable is to destroy it
         // seems like the only way to stop sortable is to destroy it
         if(options.sortable) {
         if(options.sortable) {
-            $('.taskbar').sortable('destroy');
+            $('.taskbar-sortable').sortable('destroy');
         }
         }
 
 
         e.preventDefault();
         e.preventDefault();