mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-47981 Grade single view: Prevent nasty scroll jumping.
This commit is contained in:
parent
db310f7737
commit
d61dc26e12
@ -12,9 +12,9 @@ M.gradereport_singleview.init = function(Y) {
|
||||
};
|
||||
};
|
||||
|
||||
link.on('click', function() {
|
||||
link.on('click', function(e) {
|
||||
e.preventDefault();
|
||||
Y.all('input[name^=' + type + ']').each(toggle(link.hasClass('all')));
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user