From e71e4ccb4c7143483caa7aee64a1448fb02c7692 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 19 Dec 2013 12:39:03 -0800 Subject: [PATCH] Syntax highlight just the new message --- adminer/static/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/static/functions.js b/adminer/static/functions.js index 0d8c38fa..a5ea770a 100644 --- a/adminer/static/functions.js +++ b/adminer/static/functions.js @@ -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); }