Skip to content

Commit

Permalink
fix username autocompletion - closes lichess-org#2841
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Mar 26, 2017
1 parent b8b9e9a commit 235d5a1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
url = https://github.com/antennaio/jquery-bar-rating
[submodule "public/vendor/jquery-textcomplete"]
path = public/vendor/jquery-textcomplete
url = https://github.com/yuku-t/jquery-textcomplete
url = https://github.com/ornicar/jquery-textcomplete
8 changes: 7 additions & 1 deletion ui/site/src/jquery.fill.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,11 @@
if ($.isFunction(f)) f();
});
return this;
}
};
$.fn.position = function() {
return {
left: this.offsetLeft,
top: this.offsetTop
};
};
})($);

0 comments on commit 235d5a1

Please sign in to comment.