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:
4
main.js
4
main.js
@@ -1120,13 +1120,13 @@ function NLoad(resource, cwith) {
|
|||||||
cwith(count, subjCount);
|
cwith(count, subjCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
var AlertOnNoQuestion = () => {
|
function AlertOnNoQuestion() {
|
||||||
try {
|
try {
|
||||||
document.getElementById("HelperMenuButton").style.background = "yellow";
|
document.getElementById("HelperMenuButton").style.background = "yellow";
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
Log("Unable to get helper menu button");
|
Log("Unable to get helper menu button");
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
//: }}}
|
//: }}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user