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:
parent
fc5e7039da
commit
e94395f8c3
6
lib.php
6
lib.php
@ -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 () {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
"
|
||||
});"
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user