Bug 7317: use preventDefault to prevent the scrollbar to move to the top
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
7d7b0a073d
commit
af29e710da
|
|
@ -196,7 +196,8 @@
|
|||
}
|
||||
|
||||
// Toggle request attributes in Illview
|
||||
$('#toggle_requestattributes').click(function() {
|
||||
$('#toggle_requestattributes').on('click', function(e) {
|
||||
e.preventDefault();
|
||||
$('#requestattributes').toggleClass('content_hidden');
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue