Skip to content

Commit

Permalink
Merge pull request #47 from nuclear06/master
Browse files Browse the repository at this point in the history
Fix: can’t delete tag containing multiple consecutive spaces
  • Loading branch information
jcubic authored Jul 16, 2024
2 parents 17acc3f + da972a5 commit 746e1e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tagger.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@
// --------------------------------------------------------------------------------------
_remove_tag: function(close) {
var li = close.closest('li');
var name = li.querySelector('.label').innerText;
var name = li.querySelector('.label').textContent;
this._ul.removeChild(li);
this.remove_tag(name, false);
}
Expand Down

0 comments on commit 746e1e1

Please sign in to comment.