Skip to content

Commit

Permalink
Uneeded repeated method
Browse files Browse the repository at this point in the history
  • Loading branch information
w00fz committed Feb 4, 2022
1 parent 3bffb01 commit 6b6e016
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/fields/media.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ export default class PageMedia extends FilesField {
$('.dz-preview').prop('draggable', 'true');
}

onDropzoneRemovedFile(file, ...extra) {
super.onDropzoneRemovedFile(file, ...extra);
this.sortable.options.onSort();
}
// onDropzoneRemovedFile(file, ...extra) {
// super.onDropzoneRemovedFile(file, ...extra);
// this.sortable.options.onSort();
// }
}

export let Instance = new PageMedia();

0 comments on commit 6b6e016

Please sign in to comment.