diff --git a/main/announcements/announcements.php b/main/announcements/announcements.php
index b3438adf8f..f9cf0f5921 100755
--- a/main/announcements/announcements.php
+++ b/main/announcements/announcements.php
@@ -523,7 +523,7 @@ switch ($action) {
$form->addHtml("
diff --git a/main/inc/lib/javascript/annotation/js/annotation.js b/main/inc/lib/javascript/annotation/js/annotation.js
index 9d2a1ed9a4..af259cc29f 100644
--- a/main/inc/lib/javascript/annotation/js/annotation.js
+++ b/main/inc/lib/javascript/annotation/js/annotation.js
@@ -324,7 +324,7 @@
};
window.AnnotationQuestion = function (userSettings) {
- $(document).on('ready', function () {
+ $(function () {
var settings = $.extend(
{
questionId: 0,
diff --git a/main/template/default/admin/teacher_time_report.tpl b/main/template/default/admin/teacher_time_report.tpl
index 2bbaa2abec..daf3385201 100644
--- a/main/template/default/admin/teacher_time_report.tpl
+++ b/main/template/default/admin/teacher_time_report.tpl
@@ -1,5 +1,5 @@