mirror of
https://github.com/urbit/shrub.git
synced 2024-12-20 09:21:42 +03:00
943ee0ede0
The keypress handler would check if backspace was past position 0 before deleting one character at that position. If you were at position 0, then it would drop down to the 'else' and send the key value as a string, throwing off the state between front and back end. This commit fixes the issue, ignoring Backspace at position 0. |
||
---|---|---|
.. | ||
index.js | ||
tile.js |