Skip to content

Commit 746e1e1

Browse files
authored
Merge pull request #47 from nuclear06/master
Fix: can’t delete tag containing multiple consecutive spaces
2 parents 17acc3f + da972a5 commit 746e1e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tagger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@
365365
// --------------------------------------------------------------------------------------
366366
_remove_tag: function(close) {
367367
var li = close.closest('li');
368-
var name = li.querySelector('.label').innerText;
368+
var name = li.querySelector('.label').textContent;
369369
this._ul.removeChild(li);
370370
this.remove_tag(name, false);
371371
}

0 commit comments

Comments
 (0)