Open syntax highlighting links to new window (thanks to Klemens Hackel)

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1209 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana 2009-10-21 19:04:37 +00:00
parent 3608d0bfce
commit b99f3e6691

View file

@ -6,6 +6,7 @@ function body_load() {
script.src = jush_root + 'jush.js';
script.onload = function () {
if (window.jush) { // IE runs in case of an error too
jush.create_links = ' target="_blank"';
jush.style(jush_root + 'jush.css');
jush.highlight_tag('pre');
jush.highlight_tag('code');