Using the assign activity, whenever the teacher leaves enough feedback to a submission, the section will be contracted, but the link on the expand '+' button does not work on Safari upon page loading.
However, if we execute on the console:
The contract '-' and the expand '+' links start working normally.
This behavior is found Safari for IOS as well as MacOS. On the other browsers it works as intended.
On the file: mod/assign/renderer.php
There were 2 lines with this exact same call:
Those were changed to this:
$this->page->requires->js_init_call('M.mod_assign.init_plugin_summary', $jsparams, true);
Adding the 3rd parameter which sets the ondomready value to true. but the behavior did not change and the Safari error remains.
PS: To contract the feedback via JS console on the navigator, you can execute: