Add delete button to choices.
This commit is contained in:
parent
3297c70db4
commit
e461a0a677
3 changed files with 18 additions and 7 deletions
3
js/delete_choice.js
Normal file
3
js/delete_choice.js
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const delete_choice = (node) => {
|
||||
node.parentElement.parentElement.removeChild(node.parentElement)
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue