File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 70
70
{{end}}
71
71
</span>
72
72
{{if IsMultilineCommitMessage .Message}}
73
- <button class="ui button ellipsis-button" aria-expanded="false">...</button>
73
+ <button class="ui button ellipsis-js-button ellipsis- button" aria-expanded="false">...</button>
74
74
{{end}}
75
75
{{template "repo/commit_statuses" dict "Status" .Status "Statuses" .Statuses "root" $}}
76
76
{{if IsMultilineCommitMessage .Message}}
Original file line number Diff line number Diff line change 40
40
41
41
<span class="gt-mono commit-summary {{if gt .ParentCount 1}} grey text{{end}}" title="{{.Summary}}">{{RenderCommitMessageLinkSubject $.root.Context .Message ($.comment.Issue.PullRequest.BaseRepo.Link|Escape) $commitLink $.comment.Issue.PullRequest.BaseRepo.ComposeMetas}}</span>
42
42
{{if IsMultilineCommitMessage .Message}}
43
- <button class="ui button ellipsis-button" aria-expanded="false">...</button>
43
+ <button class="ui button ellipsis-js-button ellipsis- button" aria-expanded="false">...</button>
44
44
{{end}}
45
45
{{if IsMultilineCommitMessage .Message}}
46
46
<pre class="commit-body gt-hidden">{{RenderCommitBody $.root.Context .Message ($.comment.Issue.PullRequest.BaseRepo.Link|Escape) $.comment.Issue.PullRequest.BaseRepo.ComposeMetas}}</pre>
Original file line number Diff line number Diff line change 28
28
{{$commitLink:= printf "%s/commit/%s" .RepoLink (PathEscape .LatestCommit.ID.String)}}
29
29
<span class="grey commit-summary" title="{{.LatestCommit.Summary}}"><span class="message-wrapper">{{RenderCommitMessageLinkSubject $.Context .LatestCommit.Message $.RepoLink $commitLink $.Repository.ComposeMetas}}</span>
30
30
{{if IsMultilineCommitMessage .LatestCommit.Message}}
31
- <button class="ui button ellipsis-button" aria-expanded="false">...</button>
31
+ <button class="ui button ellipsis-js-button ellipsis- button" aria-expanded="false">...</button>
32
32
<pre class="commit-body gt-hidden">{{RenderCommitBody $.Context .LatestCommit.Message $.RepoLink $.Repository.ComposeMetas}}</pre>
33
33
{{end}}
34
34
</span>
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import {toggleElem} from '../utils/dom.js';
5
5
const { csrfToken} = window . config ;
6
6
7
7
export function initRepoEllipsisButton ( ) {
8
- $ ( '.ellipsis-button' ) . on ( 'click' , function ( e ) {
8
+ $ ( '.ellipsis-js- button' ) . on ( 'click' , function ( e ) {
9
9
e . preventDefault ( ) ;
10
10
const expanded = $ ( this ) . attr ( 'aria-expanded' ) === 'true' ;
11
11
toggleElem ( $ ( this ) . parent ( ) . find ( '.commit-body' ) ) ;
You can’t perform that action at this time.
0 commit comments