Rename HTML attributes referencing poll options

Since now poll question answers have been renamed to poll question
options, using HTML IDs, classes and data attributes named `answer` was
confusing.
This commit is contained in:
Javi Martín
2024-06-13 14:48:03 +02:00
parent 8997ed316c
commit 5fa6db2226
31 changed files with 58 additions and 58 deletions

View File

@@ -6,7 +6,7 @@
update: function() {
var new_order;
new_order = $(this).sortable("toArray", {
attribute: "data-answer-id"
attribute: "data-option-id"
});
$.ajax({
url: $(this).data("js-url"),