diff options
Diffstat (limited to 'public/js/index.js')
-rw-r--r-- | public/js/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/public/js/index.js b/public/js/index.js index e700da29f8..2e0e26f55c 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -613,6 +613,7 @@ function initWikiForm() { function (data) { preview.innerHTML = '<div class="markdown">' + data + '</div>'; emojify.run($('.editor-preview')[0]); + $('.editor-preview').autolink(); } ); }, 0); @@ -1388,6 +1389,7 @@ $(document).ready(function () { node.append('<a class="anchor" href="#' + name + '"><span class="octicon octicon-link"></span></a>'); }); }); + $('.markdown').autolink(); buttonsClickOnEnter(); searchUsers(); |