Bug 4969: Do not jump to the top on click
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
8d2d59190a
commit
3c81b82b4b
1 changed files with 4 additions and 2 deletions
|
@ -34,12 +34,14 @@ $(document).ready(function() {
|
|||
$(this).find("legend").html(legend);
|
||||
});
|
||||
$("#show_all_vendors").hide();
|
||||
$("#show_active_vendors").click(function(){
|
||||
$("#show_active_vendors").on('click', function(e){
|
||||
e.preventDefault();
|
||||
$(".inactive").hide();
|
||||
$("#show_active_vendors").hide();
|
||||
$("#show_all_vendors").show();
|
||||
});
|
||||
$("#show_all_vendors").click(function(){
|
||||
$("#show_all_vendors").on('click', function(e){
|
||||
e.preventDefault();
|
||||
$(".inactive").show();
|
||||
$("#show_all_vendors").hide();
|
||||
$("#show_active_vendors").show();
|
||||
|
|
Loading…
Reference in a new issue