Skip to content

Commit

Permalink
Timeline: Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivo Sonderegger committed Mar 1, 2021
1 parent 1333577 commit aa1dade
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/meteoJS/Timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -782,13 +782,12 @@ export class Timeline {
}
});
}
else
if (method in this &&
_isEventMatchPressedKeys(event, this._keyboardNavigation[method])) {
this[method]();
event.preventDefault();
event.stopPropagation();
}
else if (method in this
&& _isEventMatchPressedKeys(event, this._keyboardNavigation[method])) {
this[method]();
event.preventDefault();
event.stopPropagation();
}
});
});
}
Expand Down

0 comments on commit aa1dade

Please sign in to comment.