mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Don't destroy sortable manually
This commit is contained in:
@@ -1986,11 +1986,6 @@ function clearEntryList() {
|
|||||||
$elem.remove();
|
$elem.remove();
|
||||||
});
|
});
|
||||||
|
|
||||||
// Destroy Sortable
|
|
||||||
if ($list.sortable('instance')) {
|
|
||||||
$list.sortable('destroy');
|
|
||||||
}
|
|
||||||
|
|
||||||
const totalElementsOfAnyKindLeftInList = $list.children().length;
|
const totalElementsOfAnyKindLeftInList = $list.children().length;
|
||||||
|
|
||||||
// Final cleanup
|
// Final cleanup
|
||||||
|
Reference in New Issue
Block a user