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

Fix a parenthesis typo #4153

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
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 @@ -299,7 +299,7 @@ Core.prototype._create = function (container) {
}

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

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