Skip to content

Commit

Permalink
const instead of straight instantion
Browse files Browse the repository at this point in the history
  • Loading branch information
joao4all committed Jul 23, 2024
1 parent 5aaa3f3 commit c9eb31c
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) {
new Sortable(document.getElementById(id), {
const sortable = new Sortable(document.getElementById(id), {
animation: 200,
group: {
name: group,
Expand Down

0 comments on commit c9eb31c

Please sign in to comment.