Lines 34-45
$(document).ready(function() {
Link Here
|
34 |
$(this).find("legend").html(legend); |
34 |
$(this).find("legend").html(legend); |
35 |
}); |
35 |
}); |
36 |
$("#show_all_vendors").hide(); |
36 |
$("#show_all_vendors").hide(); |
37 |
$("#show_active_vendors").click(function(){ |
37 |
$("#show_active_vendors").on('click', function(e){ |
|
|
38 |
e.preventDefault(); |
38 |
$(".inactive").hide(); |
39 |
$(".inactive").hide(); |
39 |
$("#show_active_vendors").hide(); |
40 |
$("#show_active_vendors").hide(); |
40 |
$("#show_all_vendors").show(); |
41 |
$("#show_all_vendors").show(); |
41 |
}); |
42 |
}); |
42 |
$("#show_all_vendors").click(function(){ |
43 |
$("#show_all_vendors").on('click', function(e){ |
|
|
44 |
e.preventDefault(); |
43 |
$(".inactive").show(); |
45 |
$(".inactive").show(); |
44 |
$("#show_all_vendors").hide(); |
46 |
$("#show_all_vendors").hide(); |
45 |
$("#show_active_vendors").show(); |
47 |
$("#show_active_vendors").show(); |
46 |
- |
|
|