citra-emu
/
citra-web
Archived
1
0
Fork 0

Replace search function

This commit is contained in:
BynariStar 2017-07-19 02:16:06 +03:00
parent e4f1063f77
commit 8f7c17161b
1 changed files with 1 additions and 5 deletions

View File

@ -91,6 +91,7 @@
<script type="text/javascript">
var options = {
valueNames: ['listing-metadata', 'icon', 'title', 'type', 'compatibility', 'date-tested'],
searchColumns: [ 'listing-metadata' ],
pagination: true,
indexAsync: true,
page: 50
@ -100,11 +101,6 @@
list.sort("title", {order: "asc"});
$('#search-box').keyup(function() {
var searchString = $(this).val();
list.fuzzySearch(searchString, ['listing-metadata']);
});
list.on("updated", function(){
$("#compatibility-list tbody tr.key").removeClass("key");
if ($("#compatibility-list thead").find("th.asc[data-sort='title'], th.desc[data-sort='title']").length){