mirror of
https://github.com/moodle/moodle.git
synced 2025-07-13 18:36:34 +02:00
Merge branch 'wip-MDL-52008-master' of git://github.com/abgreeve/moodle
This commit is contained in:
@ -1840,7 +1840,9 @@ M.util.init_skiplink = function(Y) {
|
||||
Y.one(Y.config.doc.body).delegate('click', function(e) {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
Y.one(this.getAttribute('data-target')).focus();
|
||||
var node = Y.one(this.getAttribute('href'));
|
||||
node.setAttribute('tabindex', '-1');
|
||||
node.focus();
|
||||
return true;
|
||||
}, 'a.skip');
|
||||
};
|
||||
|
Reference in New Issue
Block a user