[WebHost] weighted-settings: Remove debug output
This commit is contained in:
parent
9ff3791d9e
commit
111b7e204f
|
@ -598,13 +598,8 @@ const itemDropHandler = (evt) => {
|
||||||
const newSetting = evt.target.hasAttribute('data-setting') ? evt.target.getAttribute('data-setting') : null;
|
const newSetting = evt.target.hasAttribute('data-setting') ? evt.target.getAttribute('data-setting') : null;
|
||||||
|
|
||||||
if (oldSetting) {
|
if (oldSetting) {
|
||||||
console.log(oldSetting);
|
|
||||||
console.log(item);
|
|
||||||
console.log(currentSettings[game][oldSetting].indexOf(item));
|
|
||||||
console.log(currentSettings[game][oldSetting]);
|
|
||||||
if (currentSettings[game][oldSetting].includes(item)) {
|
if (currentSettings[game][oldSetting].includes(item)) {
|
||||||
currentSettings[game][oldSetting].splice(currentSettings[game][oldSetting].indexOf(item), 1);
|
currentSettings[game][oldSetting].splice(currentSettings[game][oldSetting].indexOf(item), 1);
|
||||||
console.log(currentSettings[game][oldSetting]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue