Commit 3356b92d authored by Wikiki's avatar Wikiki

[Prerelease] Bumped version number

parent 25349a1f
<a name="1.0.8"></a>
## [1.0.8](https://github.com/Wikiki/bulma-tagsinput/compare/1.0.7...1.0.8) (2018-05-12)
### Bug Fixes
* [#20](https://github.com/Wikiki/bulma-tagsinput/issues/20) Deleted tags result in leading commas ([25349a1](https://github.com/Wikiki/bulma-tagsinput/commit/25349a1))
<a name="1.0.7"></a>
## [1.0.7](https://github.com/Wikiki/bulma-tagsinput/compare/1.0.6...1.0.7) (2018-03-29)
......
......@@ -2,7 +2,7 @@
"name": "bulma-tagsinput",
"description": "Bulma.io extension to add interaction on input tags",
"main": "tagsinput.sass",
"version": "1.0.7",
"version": "1.0.8",
"authors": [
"Wikiki <wikiki@protonmail.com> (https://wikiki.github.io)"
],
......
......@@ -136,7 +136,6 @@ class Tagify {
}
this.container.removeChild(selectedTag);
this.tags.splice(this.tags.indexOf(selectedTag.getAttribute('data-tag')), 1);
console.log(this.tags);
this.setInputWidth();
this.save();
} else if (key === KEY_BACKSPACE) {
......@@ -148,7 +147,6 @@ class Tagify {
}
this.container.removeChild(selectedTag);
this.tags.splice(this.tags.indexOf(selectedTag.getAttribute('data-tag')), 1);
console.log(this.tags);
this.setInputWidth();
this.save();
} else if (last && atStart) {
......@@ -235,9 +233,7 @@ class Tagify {
tag = tag.toUpperCase();
}
if (this.element.getAttribute('duplicates') == 'true' || this.options['duplicates'] || this.tags.indexOf(tag) === -1) {
console.log(this.tags);
this.tags.push(tag);
console.log(this.tags);
let newTagWrapper = document.createElement('div');
newTagWrapper.className = 'control';
......@@ -273,7 +269,6 @@ class Tagify {
this.select(selectedTag.previousSibling);
this.container.removeChild(selectedTag);
this.tags.splice(this.tags.indexOf(selectedTag.getAttribute('data-tag')), 1);
console.log(this.tags);
this.setInputWidth();
this.save();
}
......@@ -300,7 +295,6 @@ class Tagify {
setValue(value) {
(Array.prototype.slice.call(this.container.querySelectorAll('.tag'))).forEach((tag) => {
this.tags.splice(this.tags.indexOf(tag.innerHTML), 1);
console.log(this.tags);
this.container.removeChild(tag);
});
this.savePartial(value);
......
This diff is collapsed.
{
"name": "bulma-tagsinput",
"version": "1.0.7",
"version": "1.0.8",
"description": "Bulma.io extension to add interaction on input tags",
"main": "dist/bulma-tagsinput.sass",
"scripts": {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment