mirror of
https://gitlab.com/MrFry/moodle-test-userscript
synced 2025-04-01 20:22:48 +02:00
AlerOnNoQuestion tiny refactor
This commit is contained in:
parent
e048e9d0c3
commit
5dc37d3f02
1 changed files with 2 additions and 2 deletions
4
main.js
4
main.js
|
@ -1120,13 +1120,13 @@ function NLoad(resource, cwith) {
|
|||
cwith(count, subjCount);
|
||||
}
|
||||
|
||||
var AlertOnNoQuestion = () => {
|
||||
function AlertOnNoQuestion() {
|
||||
try {
|
||||
document.getElementById("HelperMenuButton").style.background = "yellow";
|
||||
} catch (e) {
|
||||
Log("Unable to get helper menu button");
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
//: }}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue