fix username autocompletion - closes #2841

pull/2850/head
Thibault Duplessis 2017-03-26 18:44:20 +02:00
parent b8b9e9a90b
commit 235d5a1df9
3 changed files with 9 additions and 3 deletions

2
.gitmodules vendored
View File

@ -30,4 +30,4 @@
url = https://github.com/antennaio/jquery-bar-rating url = https://github.com/antennaio/jquery-bar-rating
[submodule "public/vendor/jquery-textcomplete"] [submodule "public/vendor/jquery-textcomplete"]
path = public/vendor/jquery-textcomplete path = public/vendor/jquery-textcomplete
url = https://github.com/yuku-t/jquery-textcomplete url = https://github.com/ornicar/jquery-textcomplete

@ -1 +1 @@
Subproject commit adda11608d4aa33250dd31471ac33fdfee17363e Subproject commit 6546d136f98d229d998aef67273d4ca484a68daf

View File

@ -47,5 +47,11 @@
if ($.isFunction(f)) f(); if ($.isFunction(f)) f();
}); });
return this; return this;
} };
$.fn.position = function() {
return {
left: this.offsetLeft,
top: this.offsetTop
};
};
})($); })($);