summaryrefslogtreecommitdiffstats
path: root/public/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/app.js')
-rw-r--r--public/js/app.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/public/js/app.js b/public/js/app.js
index 23b629e3e1..61539148e9 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -1052,22 +1052,6 @@ function initRepoSetting() {
return;
}
Gogits.getUsers($this.val(), $this.next());
- /*$.ajax({
- url: '/api/v1/users/search?q=' + $this.val(),
- dataType: "json",
- success: function (json) {
- if (json.ok && json.data.length) {
- var html = '';
- $.each(json.data, function (i, item) {
- html += '<li><img src="' + item.avatar + '">' + item.username + '</li>';
- });
- $this.next().toggleShow();
- $this.next().find('ul').html(html);
- } else {
- $this.next().toggleHide();
- }
- }
- });*/
}).on('focus', function () {
if (!$(this).val()) {
$(this).next().toggleHide();