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

Commit cbfab03

Browse files
authored
Merge pull request #68 from Antoine38660/develop
Fix a parenthesis typo
2 parents 7492bc7 + 2e49642 commit cbfab03

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/timeline/Core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ class Core {
291291
}
292292

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

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

0 commit comments

Comments
 (0)