mirror of
https://github.com/moodle/moodle.git
synced 2025-03-20 07:30:01 +01:00
Merge branch 'wip-MDL-35823-master' of git://github.com/phalacee/moodle
This commit is contained in:
commit
8c8d314ffd
@ -1583,7 +1583,7 @@ M.util.help_icon = {
|
||||
var contentnode, heading;
|
||||
contentnode = Y.Node.create('<div role="alert">' + content + '</div>');
|
||||
this.overlay.set('bodyContent', contentnode);
|
||||
heading = contentnode.one('h1');
|
||||
heading = contentnode.one('h2');
|
||||
if (heading) {
|
||||
heading.set('tabIndex', 0);
|
||||
heading.focus();
|
||||
|
Loading…
x
Reference in New Issue
Block a user