Revert "Added no match found on live search"
This reverts commit 47a07c61
This commit is contained in:
@@ -56,7 +56,14 @@
|
||||
url: '{{route('contacts.search')}}',
|
||||
data: {'search':$value},
|
||||
success:function (data) {
|
||||
$('tbody').html(data);
|
||||
if(data == $value){
|
||||
$('tbody').html(data);
|
||||
$("p").hide();
|
||||
}else{
|
||||
$("p").show();
|
||||
$("p").html("Det er ingen data der matcher din søgning.");
|
||||
}
|
||||
|
||||
},
|
||||
error:function (data) {
|
||||
console.log(data);
|
||||
|
||||
Reference in New Issue
Block a user