Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Add .native-key-bindings to <buttons> within CommitView
Browse files Browse the repository at this point in the history
  • Loading branch information
smashwilson committed Nov 1, 2018
1 parent 72e1c61 commit bd43ddd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/views/commit-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export default class CommitView extends React.Component {
<div className="github-CommitView-buttonWrapper">
<button
ref={this.refCommitPreviewButton.setter}
className="github-CommitView-commitPreview github-CommitView-button btn"
className="github-CommitView-commitPreview github-CommitView-button btn native-key-bindings"
disabled={!this.props.stagedChangesExist}
onClick={this.props.toggleCommitPreview}>
{this.props.commitPreviewOpen ? 'Close Commit Preview' : 'Preview Commit'}
Expand Down Expand Up @@ -243,7 +243,7 @@ export default class CommitView extends React.Component {
<Tooltip
manager={this.props.tooltips}
target={this.refCommitButton}
className="github-CommitView-button-tooltip"
className="github-CommitView-button-tooltip native-key-bindings"
title={`${modKey}-enter to commit`}
showDelay={TOOLTIP_DELAY}
/>}
Expand Down

0 comments on commit bd43ddd

Please sign in to comment.