1
0
mirror of https://github.com/PlagiarismCheck/moodle-plagiarism_pchkorg.git synced 2024-12-22 04:10:07 +00:00

Fix widget rendering for firefoxes.

This commit is contained in:
Jane Adelmann 2022-06-01 14:42:05 +03:00
parent fc5e7039da
commit e94395f8c3
No known key found for this signature in database
GPG Key ID: 4CCF39DF30B8AF72
2 changed files with 5 additions and 5 deletions

View File

@ -330,7 +330,8 @@ window.plagiarism_check_full_report = function (action, token) {
form.submit();
};
window.onload = function () {
require([], function () {
var spans = window.document.getElementsByClassName('plagiarism-pchkorg-widget');
for (var span of spans) {
for (var classname of span.classList) {
@ -370,8 +371,7 @@ window.onload = function () {
}
}
}
}
"
});"
);
}

View File

@ -26,9 +26,9 @@ defined('MOODLE_INTERNAL') || die();
if (!isset($plugin)) {
$plugin = new stdClass();
}
$plugin->version = 2022053111;
$plugin->version = 2022060114;
$plugin->requires = 2020061501; // Requires Moodle 3.9 .
$plugin->release = 'v3.9.3';
$plugin->release = 'v3.9.4';
$plugin->component = 'plagiarism_pchkorg';
$plugin->maturity = MATURITY_STABLE;
$plugin->dependencies = array(