]> git.joonet.de Git - adminer.git/commitdiff
Open syntax highlighting links to new window (thanks to Klemens Hackel)
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Wed, 21 Oct 2009 19:04:37 +0000 (19:04 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Wed, 21 Oct 2009 19:04:37 +0000 (19:04 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1209 7c3ca157-0c34-0410-bff1-cbf682f78f5c

adminer/static/editing.js

index a9d35075b92dab8e8095a270eeaebc907ad524a2..674803847e41a2144343e9841993960bbe45193d 100644 (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');