Skip to content

Commit

Permalink
eslint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rurik19 committed Feb 2, 2020
1 parent cb08764 commit c48acdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wallabagger/js/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ PopupController.prototype = {
const cross = lastChip.childNodes[1];
if (cross.classList.contains('btn-clear')) {
const s = lastChip.dataset.taglabel;
this.tagsInput.value = s+s.slice(-1);
this.tagsInput.value = s + '!';
cross.click();
}
}
Expand Down Expand Up @@ -292,7 +292,7 @@ PopupController.prototype = {
},

selectTag: function (index) {
// alert(`index=${index} tag=${this.tagsInputContainer.children[index + 1].dataset.taglabel}`);
// alert(`index=${index} tag=${this.tagsInputContainer.children[index + 1].dataset.taglabel}`);
[...this.tagsInputContainer.children].map(e => e.classList.remove('chip-selected'));
if ((index >= 0) && (index < (this.articleTags.length + this.dirtyTags.length))) {
this.tagsInputContainer.children[index + 1].classList.add('chip-selected');
Expand Down

0 comments on commit c48acdf

Please sign in to comment.