Error when deleting tags with only numbers
sdmtt opened this issue · comments
When you add a tag with only numbers and you want to remove it, this happens:
Uncaught TypeError: Object 123 has no method 'toLowerCase'
In line 104 you must add ".toString()":
tagname = $(this).parent().data('name').toLowerCase();
to:
tagname = $(this).parent().data('name').toString().toLowerCase();