We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2b2fd6 commit 64214a9Copy full SHA for 64214a9
public/js/index.js
@@ -1523,11 +1523,9 @@ $(function () {
1523
1524
$("#search_repo").on('change paste keyup',function(){
1525
var value = $(this).val();
1526
- if(!value){
1527
- $('.list-search-style').html('');
1528
- } else{
1529
- $('.list-search-style').html('.search-list li:not([data-title*="' + value + '"]) {display: none;}');
1530
- }
+ $.map($('.search-list li'), function(i) {
+ $(i).css("display", (value.trim().length == 0 || $(i).attr("data-title").trim().toLowerCase().indexOf(value.trim().toLowerCase()) > -1) ? "" : "none");
+ });
1531
});
1532
1533
// Parse SSH Key
0 commit comments