From: jakubvrana Date: Wed, 21 Oct 2009 19:04:37 +0000 (+0000) Subject: Open syntax highlighting links to new window (thanks to Klemens Hackel) X-Git-Tag: v3.0.0~332 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=b99f3e6691de896b96b50f1b267da3b8790e912a;p=adminer.git 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 --- diff --git a/adminer/static/editing.js b/adminer/static/editing.js index a9d35075..67480384 100644 --- a/adminer/static/editing.js +++ b/adminer/static/editing.js @@ -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');