Make it a little cleaner for the puzzle writer

This commit is contained in:
Neale Pickett 2019-04-10 20:04:04 +00:00
parent dd0d9cadf5
commit 53a299d635
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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