displaying subject name in msgbox

This commit is contained in:
mrfry 2020-10-05 16:38:38 +02:00
parent 490b309e47
commit 443203848c

View file

@ -21,7 +21,7 @@
// ==UserScript==
// @name Moodle/Elearning/KMOOC test help
// @version 2.0.1.12
// @version 2.0.1.13
// @description Online Moodle/Elearning/KMOOC test help
// @author MrFry
// @match https://elearning.uni-obuda.hu/main/*
@ -1383,6 +1383,15 @@
"\n\nKépek fenti válaszok sorrendjében: " +
result[k].q.data.images.join(", "); // if it has image part, adding that too
}
if (
result[k].detailedMatch &&
result[k].detailedMatch.matchedSubjName
) {
msg +=
"\n(Tárgy: " +
result[k].detailedMatch.matchedSubjName +
")";
}
allMessages.push({
m: msg,
p: result[k].match,