Compare commits
2 commits
86f05803c7
...
3be9e79615
Author | SHA1 | Date | |
---|---|---|---|
3be9e79615 | |||
ccc6272bfd |
2 changed files with 3 additions and 2 deletions
|
@ -251,7 +251,8 @@ checkKeys mapping wanted = do
|
|||
keys <- getKeys mapping
|
||||
let unused = Set.toList $ keys \\ wanted
|
||||
unless (null unused) do
|
||||
fail $ "unused keys: " <> show unused
|
||||
fail $ "unused keys: " <> show unused <> "\n" <>
|
||||
"expected: " <> show wanted
|
||||
|
||||
|
||||
instance FromYAML Info where
|
||||
|
|
|
@ -59,7 +59,7 @@ function toggle(checkbox) {
|
|||
|
||||
|
||||
function clearForm() {
|
||||
allBoxes.forEach(b => b.checked = false);
|
||||
allBoxes.forEach(b => b.checked = b.defaultChecked);
|
||||
}
|
||||
|
||||
function clear(e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue