Commit 82b24883 authored by Eloy Lafuente's avatar Eloy Lafuente
Browse files

Merge branch 'MDL-70789' of git://github.com/paulholden/moodle

parents 9c075209 ccc2f642
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -129,7 +129,10 @@ define(['jquery', 'core/custom_interaction_events', 'core/log', 'core/pubsub', '
body.removeClass('drawer-open-' + side);
trigger.attr('aria-expanded', 'false');
drawer.addClass('closed').delay(500).queue(function() {
Aria.hide(this);
// Ensure that during the delay, the drawer wasn't re-opened.
if ($(this).hasClass('closed')) {
Aria.hide(this);
}
$(this).dequeue();
});
if (!small) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment