Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Commit

Permalink
Merge pull request #68 from Antoine38660/develop
Browse files Browse the repository at this point in the history
Fix a parenthesis typo
  • Loading branch information
yotamberk authored Nov 2, 2018
2 parents 7492bc7 + 2e49642 commit cbfab03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/timeline/Core.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ class Core {
}

// make sure your target is a timeline element
if (!event.target.className.indexOf("timeline") > -1) return;
if (!(event.target.className.indexOf("timeline") > -1)) return;

// make sure only one item is added every time you're over the timeline
if (itemAddedToTimeline) return;
Expand Down

0 comments on commit cbfab03

Please sign in to comment.