This commit is contained in:
Huong Nguyen
2024-09-06 11:19:34 +07:00
4 changed files with 8 additions and 8 deletions
@@ -631,11 +631,11 @@ EditorNotify.prototype = {
}
if (type === NOTIFY_WARNING) {
messageTypeIcon = '<img src="' +
messageTypeIcon = '<img class="icon" src="' +
M.util.image_url('i/warning', 'moodle') +
'" alt="' + M.util.get_string('warning', 'moodle') + '"/>';
} else if (type === NOTIFY_INFO) {
messageTypeIcon = '<img src="' +
messageTypeIcon = '<img class="icon" src="' +
M.util.image_url('i/info', 'moodle') +
'" alt="' + M.util.get_string('info', 'moodle') + '"/>';
} else {
File diff suppressed because one or more lines are too long
@@ -628,11 +628,11 @@ EditorNotify.prototype = {
}
if (type === NOTIFY_WARNING) {
messageTypeIcon = '<img src="' +
messageTypeIcon = '<img class="icon" src="' +
M.util.image_url('i/warning', 'moodle') +
'" alt="' + M.util.get_string('warning', 'moodle') + '"/>';
} else if (type === NOTIFY_INFO) {
messageTypeIcon = '<img src="' +
messageTypeIcon = '<img class="icon" src="' +
M.util.image_url('i/info', 'moodle') +
'" alt="' + M.util.get_string('info', 'moodle') + '"/>';
} else {
+2 -2
View File
@@ -96,11 +96,11 @@ EditorNotify.prototype = {
}
if (type === NOTIFY_WARNING) {
messageTypeIcon = '<img src="' +
messageTypeIcon = '<img class="icon" src="' +
M.util.image_url('i/warning', 'moodle') +
'" alt="' + M.util.get_string('warning', 'moodle') + '"/>';
} else if (type === NOTIFY_INFO) {
messageTypeIcon = '<img src="' +
messageTypeIcon = '<img class="icon" src="' +
M.util.image_url('i/info', 'moodle') +
'" alt="' + M.util.get_string('info', 'moodle') + '"/>';
} else {