mirror of
https://github.com/moodle/moodle.git
synced 2025-01-21 07:28:31 +01:00
The W3C valid way to write script tags is <script type="text/javascript">.
This commit is contained in:
parent
de1315e3d5
commit
3524435159
@ -3569,7 +3569,7 @@ function print_side_block_start($heading='', $attributes = array()) {
|
||||
function print_side_block_end($attributes = array()) {
|
||||
echo '</div></td></tr></tbody></table>';
|
||||
// js call to set block display state which is saved in cookie.
|
||||
echo "\n <script language=\"JavaScript\"> <!-- //hide ";
|
||||
echo "\n <script type='text/javascript'> <!-- //hide ";
|
||||
echo "\n containerDisplaySet(\"".$attributes['id']."\");";
|
||||
echo "\n // done hiding --> </script>";
|
||||
echo "\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user