Skip to content

Commit

Permalink
Join with nothing instead of ','
Browse files Browse the repository at this point in the history
  • Loading branch information
imightbeamy committed Feb 18, 2018
1 parent c5e39f4 commit cc0637e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const merge = (mainCalender) => {
if (!eventTitleEls.length) {
return;
}
let eventKey = Array.from(eventTitleEls).map(el => el.textContent).join().replace(/\\s+/g,"");
let eventKey = Array.from(eventTitleEls).map(el => el.textContent).join('').replace(/\\s+/g,"");
eventKey = index + eventKey;
eventSets[eventKey] = eventSets[eventKey] || [];
eventSets[eventKey].push(event);
Expand Down

0 comments on commit cc0637e

Please sign in to comment.