mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-75423 output: select_menu label bug fix
- click on the label were not always focusing on the element
This commit is contained in:
parent
5877ae306e
commit
49595ffa2f
@ -127,7 +127,7 @@
|
||||
var label = document.getElementById('{{baseid}}-label');
|
||||
if (label) {
|
||||
label.addEventListener('click', function() {
|
||||
label.parentElement.querySelector('.dropdown-toggle').focus();
|
||||
this.parentElement.querySelector('.dropdown-toggle').focus();
|
||||
});
|
||||
}
|
||||
{{/js}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user