Skip to content

Commit da972a5

Browse files
committed
Fix: cant delete tag containing multiple consecutive spaces
1 parent 17acc3f commit da972a5

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)