Skip to content

Commit

Permalink
using static creation of sortable component
Browse files Browse the repository at this point in the history
  • Loading branch information
joao4all committed Jul 23, 2024
1 parent c9eb31c commit 079da61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion COMETwebapp/Components/Shared/SortableList.razor.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @param {any} forceFallback
*/
export function init(id, group, pull, put, sort, handle, filter, component, forceFallback) {
const sortable = new Sortable(document.getElementById(id), {
Sortable.create(document.getElementById(id), {
animation: 200,
group: {
name: group,
Expand Down

0 comments on commit 079da61

Please sign in to comment.