Skip to content

Commit

Permalink
Replaced unicode underscore with regular (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
huksley authored and xiaolin committed Oct 8, 2018
1 parent ad37869 commit 221c158
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ImageGallery.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -866,14 +866,14 @@ export default class ImageGallery extends React.Component {
}

_slideLeft = () => {
this.props.isRTL ? this._slideNext() : this.ـslidePrevious();
this.props.isRTL ? this._slideNext() : this._slidePrevious();
};

_slideRight = () => {
this.props.isRTL ? this.ـslidePrevious() : this._slideNext();
this.props.isRTL ? this._slidePrevious() : this._slideNext();
};

ـslidePrevious = (event) => {
_slidePrevious = (event) => {
this.slideToIndex(this.state.currentIndex - 1, event);
};

Expand Down

0 comments on commit 221c158

Please sign in to comment.