Skip to content

Commit

Permalink
fix non-loading calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Nov 1, 2024
1 parent ac861e1 commit c56fb16
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions builder/src/components/calendar/snippet.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* global FullCalendar */
(function initCalendar({ events, displayEventTime, selectors }) {
function initCalendar({ events, displayEventTime, selectors }) {
window.addEventListener("DOMContentLoaded", () => {
const styleElm = document.createElement("style");

Expand Down Expand Up @@ -71,4 +71,7 @@

calendar.render();
});
});
}

// prettier-ignore
initCalendar

0 comments on commit c56fb16

Please sign in to comment.