diff --git a/public/js/index.js b/public/js/index.js index 918918ef466..1377e9f36ad 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -690,7 +690,7 @@ function initRepository() { // Setup new form if ($editContentZone.html().length == 0) { $editContentZone.html($('#edit-content-form').html()); - $textarea = $('#content'); + $textarea = $editContentZone.find('textarea'); issuesTribute.attach($textarea.get()); emojiTribute.attach($textarea.get()); diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index 729e37c8b94..35f6ae36be5 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -204,7 +204,7 @@ {{$.i18n.Tr "preview"}}
- +
{{$.i18n.Tr "loading"}} diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index 54531cf4d8a..ce2699af357 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -115,7 +115,7 @@ {{$.i18n.Tr "preview"}}
- +
{{$.i18n.Tr "loading"}}