Commit ce68a9919500012226d1d1cfcb25b664e69a3d41
Don't show duplicate textareas for line comment
Fix %j+WNCXHZHq3hwRCiDHhIoB1e8dJOzs0oabo74KqcdOk=.sha256cel committed on 11/24/2017, 5:18:09 PM
Parent: bf96de64d7688c54e9752ed79c0d041d4ef21828
Files changed
lib/repos/index.js | changed |
lib/repos/index.js | |||
---|---|---|---|
@@ -913,17 +913,16 @@ | |||
913 | 913 … | : '') | |
914 | 914 … | : '') + '</td>' | |
915 | 915 … | }).join('') + | |
916 | 916 … | '<td class="code-text">' + html + '</td></tr>' + | |
917 | - (commit && query.comment === id ? | ||
918 | - '<tr><td colspan=4>' + | ||
919 | - forms.lineComment(req, repo, updateId, commit, filename, newLineNum) + | ||
920 | - '</td></tr>' | ||
921 | - : '') + | ||
922 | 917 … | (lineCommentThreads[newLineNum] ? | |
923 | 918 … | '<tr><td colspan=4>' + | |
924 | 919 … | lineCommentThreads[newLineNum] + | |
925 | 920 … | '</td></tr>' | |
921 … | + : commit && query.comment === id ? | ||
922 … | + '<tr><td colspan=4>' + | ||
923 … | + forms.lineComment(req, repo, updateId, commit, filename, newLineNum) + | ||
arj %cNLVIfTofk2kPE90MVaZqnCVMw7BuiBNkjaxqvD78WA=.sha256 · 11/24/2017, 8:32:43 PM This is awesome! :rocket: | |||
924 … | + '</td></tr>' | ||
926 | 925 … | : '') | |
927 | 926 … | })) | |
928 | 927 … | }) | |
929 | 928 … | return [].concat.apply([], groups).join('') |
Built with git-ssb-web