mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 09:04:26 +00:00
parent
e2b2fd6e78
commit
64214a9426
@ -1523,11 +1523,9 @@ $(function () {
|
|||||||
|
|
||||||
$("#search_repo").on('change paste keyup',function(){
|
$("#search_repo").on('change paste keyup',function(){
|
||||||
var value = $(this).val();
|
var value = $(this).val();
|
||||||
if(!value){
|
$.map($('.search-list li'), function(i) {
|
||||||
$('.list-search-style').html('');
|
$(i).css("display", (value.trim().length == 0 || $(i).attr("data-title").trim().toLowerCase().indexOf(value.trim().toLowerCase()) > -1) ? "" : "none");
|
||||||
} else{
|
});
|
||||||
$('.list-search-style').html('.search-list li:not([data-title*="' + value + '"]) {display: none;}');
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// Parse SSH Key
|
// Parse SSH Key
|
||||||
|
Loading…
Reference in New Issue
Block a user