Address selected input edge case. Fixes #1058

This commit is contained in:
Francisco Hodge
2021-06-08 22:04:10 -07:00
parent f0fbf760b2
commit 3d075a2f57
3 changed files with 63 additions and 0 deletions
+5
View File
@@ -299,6 +299,11 @@ class Utilities {
return output;
}
/**
* Check whether the button is a standard button
*/
isStandardButton = (button: string) => button && !(button[0] === "{" && button[button.length - 1] === "}");
/**
* Removes an amount of characters before a given position
*