diff --git a/module/doc/js/objectlibs.js b/module/doc/js/objectlibs.js index 7714d051b7..a661bf9b5d 100644 --- a/module/doc/js/objectlibs.js +++ b/module/doc/js/objectlibs.js @@ -8,8 +8,6 @@ $(function() }) $('.menu-actions > a').blur(function() {$(this).css('background', 'none');}) - - $('#content .table-row .markdown-print a').attr('target', '_blank'); }) /** diff --git a/module/doc/view/content.html.php b/module/doc/view/content.html.php index c627cecee1..b2c0fa95ba 100644 --- a/module/doc/view/content.html.php +++ b/module/doc/view/content.html.php @@ -297,6 +297,8 @@ $(function() var simplemde = new SimpleMDE({element: $("#markdownContent")[0],toolbar:false, status: false}); simplemde.value(markdownText); simplemde.togglePreview(); + + $('#content .CodeMirror .editor-preview a').attr('target', '_blank'); })