mirror of https://github.com/dirtbags/moth.git
Make it a little cleaner for the puzzle writer
This commit is contained in:
parent
dd0d9cadf5
commit
53a299d635
|
@ -50,6 +50,7 @@ function helperExpandInputs(e) {
|
||||||
// Add remove button
|
// Add remove button
|
||||||
let remove = document.createElement("button")
|
let remove = document.createElement("button")
|
||||||
remove.innerText = "➖"
|
remove.innerText = "➖"
|
||||||
|
remove.title = "Remove this input"
|
||||||
remove.addEventListener("click", helperRemoveInput)
|
remove.addEventListener("click", helperRemoveInput)
|
||||||
newElement.appendChild(remove)
|
newElement.appendChild(remove)
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ Multiple concatenated values
|
||||||
Free input, sorted, concatenated values
|
Free input, sorted, concatenated values
|
||||||
<ul class="answer lower sort">
|
<ul class="answer lower sort">
|
||||||
<li><input></li>
|
<li><input></li>
|
||||||
<li><button class="expand">➕</button><li>
|
<li><button class="expand" title="Add another input">➕</button><l/i>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
Select from an ordered list of options
|
Select from an ordered list of options
|
||||||
|
|
Loading…
Reference in New Issue