Skip to content

Commit

Permalink
Use zero width join character for better rendering in Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
William B. Wettersten committed Nov 30, 2015
1 parent 0c818ae commit e820603
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/js/jquery.atwho.js
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ EditableController = (function(superClass) {
if (range = this._getRange()) {
range.setEndAfter(this.query.el[0]);
range.collapse(false);
range.insertNode(suffixNode = this.app.document.createTextNode("\u2060" + suffix));
range.insertNode(suffixNode = this.app.document.createTextNode("\u200D" + suffix));
this._setRange('after', suffixNode, range);
}
if (!this.$inputor.is(':focus')) {
Expand Down
Loading

0 comments on commit e820603

Please sign in to comment.