Removed whitspaces from tags on addition

This commit is contained in:
Adolfo Gómez García 2016-02-12 04:52:23 +01:00
parent a08fe53383
commit fbd0a59a70

View File

@ -66,6 +66,8 @@
var curr;
var found = false;
text = text.split(' ').join(''); // Remove white spaces
text = api.tools.capitalize(text);
if ($data.val() == '') // No values