Add cursor styling to raid response drag 'n drop.
This commit is contained in:
parent
1c72c58781
commit
4bcdf7eca9
|
@ -189,6 +189,10 @@
|
|||
event.interaction.start({name: "drag"}, event.interactable, clone);
|
||||
});
|
||||
|
||||
document.querySelectorAll(".response-character-alert").forEach(function (element) {
|
||||
element.style.cursor = "move";
|
||||
});
|
||||
|
||||
interact(".response-container").dropzone({
|
||||
accept: ".response-character-alert",
|
||||
ondrop(event) {
|
||||
|
@ -210,6 +214,7 @@
|
|||
mode: "same-origin",
|
||||
body: form,
|
||||
}).then(function (response) {
|
||||
document.body.style.cursor = "wait";
|
||||
location.reload();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue