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);
|
||||
}
|
||||
|
||||
var AlertOnNoQuestion = () => {
|
||||
function AlertOnNoQuestion() {
|
||||
try {
|
||||
document.getElementById("HelperMenuButton").style.background = "yellow";
|
||||
} catch (e) {
|
||||
Log("Unable to get helper menu button");
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
//: }}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user