Skip to content

Commit 372dba5

Browse files
authored
Merge pull request #467 from kgryte/commit-info-button-tooltips
Set title attributes to support tooltip info
2 parents 38d91cd + 97316b8 commit 372dba5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/SinglePastCommitInfo.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ export class SinglePastCommitInfo extends React.Component<
169169
discardFileButtonStyle
170170
)}
171171
onClick={this.showDeleteCommit}
172+
title="Discard changes introduced by this commit"
172173
/>
173174
<button
174175
className={classes(
@@ -177,6 +178,7 @@ export class SinglePastCommitInfo extends React.Component<
177178
revertButtonStyle
178179
)}
179180
onClick={this.showResetToCommit}
181+
title="Discard changes introduced *after* this commit"
180182
/>
181183
</div>
182184
<div>

0 commit comments

Comments
 (0)