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

Fix a parenthesis typo #68

Merged
merged 1 commit into from
Nov 2, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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