pop34
This commit is contained in:
parent
2b7950803f
commit
910d861c78
@ -214,7 +214,7 @@ function initDrop() {
|
||||
|
||||
newItem.dataset.id = existing.dataset.id;
|
||||
newItem.dataset.level = existing.dataset.level;
|
||||
newItem.dataset.slot = targetSlot;
|
||||
newItem.dataset.slot = existing.dataset.slot;
|
||||
|
||||
newItem.innerHTML = `<img src="${existing.src}">`;
|
||||
|
||||
@ -301,6 +301,8 @@ function initInventoryDrop() {
|
||||
|
||||
slot.classList.remove("has-item");
|
||||
|
||||
saveEquipment(slotName, null, null);
|
||||
|
||||
/* Drag wieder aktivieren */
|
||||
|
||||
initDrag();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user