Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 34... Línea 34...
34
    // Ensure that it is a jQuery.
34
    // Ensure that it is a jQuery.
35
    root = $(root);
35
    root = $(root);
Línea 36... Línea 36...
36
 
36
 
37
    Aria.unhide(root.get());
37
    Aria.unhide(root.get());
38
    root.removeClass('hidden');
-
 
39
    root.attr('aria-expanded', true);
38
    root.removeClass('hidden');
Línea 40... Línea 39...
40
    root.focus();
39
    root.focus();
41
 
40
 
Línea 50... Línea 49...
50
const hide = root => {
49
const hide = root => {
51
    // Ensure that it is a jQuery.
50
    // Ensure that it is a jQuery.
52
    root = $(root);
51
    root = $(root);
Línea 53... Línea 52...
53
 
52
 
54
    root.addClass('hidden');
-
 
55
    root.attr('aria-expanded', false);
53
    root.addClass('hidden');
Línea 56... Línea 54...
56
    Aria.hide(root.get());
54
    Aria.hide(root.get());
57
 
55