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:
parent
3608d0bfce
commit
b99f3e6691
|
@ -6,6 +6,7 @@ function body_load() {
|
||||||
script.src = jush_root + 'jush.js';
|
script.src = jush_root + 'jush.js';
|
||||||
script.onload = function () {
|
script.onload = function () {
|
||||||
if (window.jush) { // IE runs in case of an error too
|
if (window.jush) { // IE runs in case of an error too
|
||||||
|
jush.create_links = ' target="_blank"';
|
||||||
jush.style(jush_root + 'jush.css');
|
jush.style(jush_root + 'jush.css');
|
||||||
jush.highlight_tag('pre');
|
jush.highlight_tag('pre');
|
||||||
jush.highlight_tag('code');
|
jush.highlight_tag('code');
|
||||||
|
|
Loading…
Reference in a new issue