add benchmark with external nvme ssd
This commit is contained in:
1
public/js/vendors/mdb/mdb.min.js
vendored
Executable file
1
public/js/vendors/mdb/mdb.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
59
public/js/vendors/mdb/mdw-search.js
vendored
Normal file
59
public/js/vendors/mdb/mdw-search.js
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
jQuery(document).ready(function($) {
|
||||
|
||||
$('#mdw_main_search').keyup(function() {
|
||||
var query = $('#mdw_main_search').val();
|
||||
|
||||
if (query != '') {
|
||||
var data = {
|
||||
'action': 'mdw_search',
|
||||
'query': query,
|
||||
};
|
||||
jQuery.post(mdw_search_object.ajaxurl, data,
|
||||
function(response) {
|
||||
li = '<li>';
|
||||
if (response.indexOf(li) !== -1) {
|
||||
jQuery('.dropdown-wrapper').html(
|
||||
response);
|
||||
} else {
|
||||
jQuery('.dropdown-wrapper').html('');
|
||||
}
|
||||
});
|
||||
} else {
|
||||
jQuery('.dropdown-wrapper').html('');
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
$('#mdw_main_search').click(function() {
|
||||
var query = $('#mdw_main_search').val();
|
||||
|
||||
if (query != '') {
|
||||
var data = {
|
||||
'action': 'mdw_search',
|
||||
'query': query,
|
||||
};
|
||||
jQuery.post(mdw_search_object.ajaxurl, data,
|
||||
function(response) {
|
||||
li = '<li>';
|
||||
if (response.indexOf(li) !== -1) {
|
||||
jQuery('.dropdown-wrapper').html(
|
||||
response);
|
||||
} else {
|
||||
jQuery('.dropdown-wrapper').html('');
|
||||
}
|
||||
});
|
||||
} else {
|
||||
jQuery('.dropdown-wrapper').html('');
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
jQuery('.search-form').click(function(e){
|
||||
e.stopPropagation();
|
||||
});
|
||||
|
||||
jQuery('body').click(function(){
|
||||
jQuery('.dropdown-wrapper').html('');
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user