Skip to content

Commit

Permalink
fix(sliding-gesture): missing return value
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Apr 25, 2017
1 parent 7bcf5a0 commit 3b32b8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gestures/slide-edge-gesture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class SlideEdgeGesture extends SlideGesture {

constructor(plt: Platform, element: HTMLElement, opts: any = {}) {
defaults(opts, {
edge: 'left',
edge: 'start',
maxEdgeStart: 50
});
super(plt, element, opts);
Expand All @@ -29,7 +29,7 @@ export class SlideEdgeGesture extends SlideGesture {
switch (value) {
case 'start': return isRTL ? 'right' : 'left';
case 'end': return isRTL ? 'left' : 'right';
default: value;
default: return value;
}
});
}
Expand Down

0 comments on commit 3b32b8e

Please sign in to comment.