diff options
Diffstat (limited to 'public/js/index.js')
-rw-r--r-- | public/js/index.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/public/js/index.js b/public/js/index.js index 8674993261..8ccbfc175b 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -1464,4 +1464,13 @@ function selectRange($list, $select, $from) { $(function () { if ($('.user.signin').length > 0) return; $('form').areYouSure(); + + $("#search_repo").on('change paste keyup',function(){ + var value = $(this).val(); + if(!value){ + $('.list-search-style').html(''); + } else{ + $('.list-search-style').html('.search-list li:not([data-title*="' + value + '"]) {display: none;}'); + } + }); }); |