Sortablejs: Missed not null assertion here.

This commit is contained in:
Maarten Staa
2018-09-20 16:00:57 +02:00
parent d792085eed
commit a1c8b37992
+1 -1
View File
@@ -28,7 +28,7 @@ Sortable.create(list, {
control = event.target;
if (Sortable.utils.is(control, ".js-remove")) {
item.parentNode.removeChild(item);
item.parentNode!.removeChild(item);
}
else if (Sortable.utils.is(control, ".js-edit")) {
// ..