Skip to content

Commit

Permalink
feat(event): remove ugly console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed May 25, 2023
1 parent 2d0108c commit 869d613
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lacommunaute/static/vendor/tiva-calendar/js/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,6 @@ jQuery(document).ready(function () {
// Get events from json file or ajax php
var source = (typeof jQuery('.tiva-events-calendar').attr('data-source') != "undefined") ? jQuery('.tiva-events-calendar').attr('data-source') : 'json';
if (source == 'json') { // Get events from json file : events/events.json
console.log(events_json)
jQuery.getJSON(events_json, function (data) {
for (var i = 0; i < data.items.length; i++) {
var event_date = new Date(data.items[i].year, Number(data.items[i].month) - 1, data.items[i].day);
Expand Down

0 comments on commit 869d613

Please sign in to comment.