Skip to content
Snippets Groups Projects
Commit 131b0153 authored by echicken's avatar echicken :chicken:
Browse files

something something backspace

parent d7cf7c57
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -429,6 +429,7 @@ var Typeahead = function (options) {
properties.position = (properties.position >= properties.text.length) ? properties.text.length : properties.position + 1;
break;
case '\b':
case '\x08':
if (properties.position === 0) break;
properties.text = properties.text.split('');
properties.text.splice((properties.position - 1), 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment