mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-72776 theme_boost: new editing progress effect
This commit is contained in:
parent
d135a1200a
commit
675f8e24ca
11 changed files with 139 additions and 51 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -466,6 +466,7 @@ export default class {
|
|||
if (target.hasAttribute('draggable')) {
|
||||
target.setAttribute('draggable', false);
|
||||
}
|
||||
target.setAttribute('aria-busy', true);
|
||||
} else {
|
||||
// Enable interactions.
|
||||
target.style.pointerEvents = null;
|
||||
|
@ -474,6 +475,7 @@ export default class {
|
|||
if (target.hasAttribute('draggable')) {
|
||||
target.setAttribute('draggable', true);
|
||||
}
|
||||
target.setAttribute('aria-busy', false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue