From 235d5a1df953d09670973088384f382ee4b2009a Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Sun, 26 Mar 2017 18:44:20 +0200 Subject: [PATCH] fix username autocompletion - closes #2841 --- .gitmodules | 2 +- public/vendor/jquery-textcomplete | 2 +- ui/site/src/jquery.fill.js | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitmodules b/.gitmodules index 24f38fafb5..c9b38f0d05 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/public/vendor/jquery-textcomplete b/public/vendor/jquery-textcomplete index adda11608d..6546d136f9 160000 --- a/public/vendor/jquery-textcomplete +++ b/public/vendor/jquery-textcomplete @@ -1 +1 @@ -Subproject commit adda11608d4aa33250dd31471ac33fdfee17363e +Subproject commit 6546d136f98d229d998aef67273d4ca484a68daf diff --git a/ui/site/src/jquery.fill.js b/ui/site/src/jquery.fill.js index ae36a26631..372f495be2 100644 --- a/ui/site/src/jquery.fill.js +++ b/ui/site/src/jquery.fill.js @@ -47,5 +47,11 @@ if ($.isFunction(f)) f(); }); return this; - } + }; + $.fn.position = function() { + return { + left: this.offsetLeft, + top: this.offsetTop + }; + }; })($);