MDL-47981 Grade single view: Prevent nasty scroll jumping.

This commit is contained in:
Damyon Wiese
2014-10-31 14:07:58 +08:00
parent db310f7737
commit d61dc26e12
+2 -2
View File
@@ -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;
});
});