1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 09:34:10 +02:00

Highlighting only inside <code>

This commit is contained in:
Jakub Vrana
2010-11-12 17:17:46 +01:00
parent b535853694
commit d8c7ea9837
4 changed files with 4 additions and 6 deletions

View File

@@ -22,8 +22,7 @@ function bodyLoad(version, protocol) {
if (window.jushLinks) {
jush.custom_links = jushLinks;
}
jush.highlight_tag('pre', 0);
jush.highlight_tag('code');
jush.highlight_tag('code', 0);
}
};
script.onreadystatechange = function () {

View File

@@ -223,8 +223,7 @@ function ajaxSend(url, data) {
clearTimeout(ajaxTimeout);
setHtml('main', text);
if (window.jush) {
jush.highlight_tag('code');
jush.highlight_tag('pre', 0);
jush.highlight_tag('code', 0);
}
}
}, data);