account page: fixed platform reordering bugs
This commit is contained in:
@@ -114,9 +114,6 @@
|
||||
const dragAttr = GetAttribute(drag, "hx-drag");
|
||||
const dropAttr = GetAttribute(drop, "hx-drop");
|
||||
|
||||
console.log('dragAttr:', dragAttr);
|
||||
console.log('dropAttr:', dropAttr);
|
||||
|
||||
const dragVals = JSON.parse(GetAttribute(drag, "hx-drag") || "{}");
|
||||
const dropVals = JSON.parse(GetAttribute(drop, "hx-drop") || "{}");
|
||||
|
||||
@@ -159,8 +156,6 @@
|
||||
values = Object.assign({}, dragVals, dropVals);
|
||||
}
|
||||
|
||||
console.log('action:', action)
|
||||
|
||||
if (action === null) return;
|
||||
|
||||
try { // don't let one failure cascade to the other ajax
|
||||
|
||||
Reference in New Issue
Block a user