changed stripWhitespace function to use string.prototype.replace per secan's suggestion

This commit is contained in:
Nate Grobe
2020-07-24 10:31:42 -04:00
parent 4b4afb051c
commit 1de39ad9c6
+1 -1
View File
@@ -107,7 +107,7 @@ export function uiFeatureList(context) {
}
function stripWhitespace(val) {
return val.split('').filter(char => char !== ' ').join('');
return val.replace(/ /g, '');
}
function mapDrawn(e) {