mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:35:13 +00:00
add autocomplete to connect/follow input box
This commit is contained in:
parent
44ecc1ba25
commit
d7e273d105
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
$(document).ready(function() {
|
||||
$("#contacts-search").contact_autocomplete(baseurl + '/acl', 'a', true);
|
||||
$("#follow_input").contact_autocomplete(baseurl + '/acl', 'x', true);
|
||||
$(".autotime").timeago();
|
||||
});
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<h3>{{$connect}}</h3>
|
||||
<form action="follow" method="post" />
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" name="url" title="{{$hint}}" placeholder="{{$desc}}" />
|
||||
<input class="form-control" id="follow_input" type="text" name="url" title="{{$hint}}" placeholder="{{$desc}}" />
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-sm btn-success" type="submit" name="submit" value="{{$follow}}" title="{{$follow}}"><i class="fa fa-fw fa-plus"></i></button>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue