Commit 2c46c349 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Minor

parent d6cad45c
......@@ -93,7 +93,7 @@ if table.classList.contains 'match-editable'
submit_button = form.querySelector('button[type=submit]')
nextelems = new WeakMap()
nextelems.set input, inputs[(i + 1) % inputs.length] for input, i in inputs
nextelems.set input, inputs[i + 1] for input, i in inputs
nextelems.set inputs[inputs.length - 1], submit_button
table.addEventListener 'keypress', (e) ->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment