Syntax highlight just the new message
This commit is contained in:
parent
2c8d81c1ae
commit
e71e4ccb4c
|
@ -534,7 +534,7 @@ function ajaxForm(form, message, button) {
|
|||
return ajax(url, function (request) {
|
||||
setHtml('message', request.responseText);
|
||||
if (window.jush) {
|
||||
jush.highlight_tag('code', 0);
|
||||
jush.highlight_tag(document.getElementById('message').getElementsByTagName('code'), 0);
|
||||
}
|
||||
}, data);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue