Skip to content

Commit 97316b8

Browse files
committed
Set title attributes to support tooltip info
1 parent a78cac8 commit 97316b8

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
@@ -167,6 +167,7 @@ export class SinglePastCommitInfo extends React.Component<
167167
discardFileButtonStyle
168168
)}
169169
onClick={this.showDeleteCommit}
170+
title="Discard changes introduced by this commit"
170171
/>
171172
<button
172173
className={classes(
@@ -175,6 +176,7 @@ export class SinglePastCommitInfo extends React.Component<
175176
revertButtonStyle
176177
)}
177178
onClick={this.showResetToCommit}
179+
title="Discard changes introduced *after* this commit"
178180
/>
179181
</div>
180182
<div>

0 commit comments

Comments
 (0)