Skip to content

Commit 3377178

Browse files
committed
Merge pull request ichord#359 from wbw20/wbw20/zero_width_join
Use zero width join character for better rendering in Chrome
2 parents 0c818ae + e820603 commit 3377178

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/js/jquery.atwho.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ EditableController = (function(superClass) {
713713
if (range = this._getRange()) {
714714
range.setEndAfter(this.query.el[0]);
715715
range.collapse(false);
716-
range.insertNode(suffixNode = this.app.document.createTextNode("\u2060" + suffix));
716+
range.insertNode(suffixNode = this.app.document.createTextNode("\u200D" + suffix));
717717
this._setRange('after', suffixNode, range);
718718
}
719719
if (!this.$inputor.is(':focus')) {

0 commit comments

Comments
 (0)