diff options
author | harry <harryzhxu@gmail.com> | 2017-12-11 14:03:04 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-12-11 14:03:04 +0800 |
commit | 03ec35ed79e38b907de8812e3f7cccc422cb5937 (patch) | |
tree | 8a430543964c8defd61b10fa099ca865b60272e3 /public/js/index.js | |
parent | f2e20c81b66e6a937ecdb686f8d1011371433365 (diff) | |
download | gitea-03ec35ed79e38b907de8812e3f7cccc422cb5937.tar.gz gitea-03ec35ed79e38b907de8812e3f7cccc422cb5937.zip |
Mention completion for issue editor. (#3136)
* new issue mention
* Mention completion on new issue and view issue page.
* Code format.
* Require tribute in pull request page.
Diffstat (limited to 'public/js/index.js')
-rw-r--r-- | public/js/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/public/js/index.js b/public/js/index.js index 28377ce231..7c4b177505 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -570,6 +570,7 @@ function initRepository() { if ($editContentZone.html().length == 0) { $editContentZone.html($('#edit-content-form').html()); $textarea = $segment.find('textarea'); + issuesTribute.attach($textarea.get()); // Give new write/preview data-tab name to distinguish from others var $editContentForm = $editContentZone.find('.ui.comment.form'); |