It looks like nothing was found at this location.

(function () { function isMonthView() { return document.body && document.body.classList.contains('tribe-events-view--month'); } function categoryChecked() { var boxes = document.querySelectorAll( '.tribe-filter-bar input[type="checkbox"][name^="tribe_events_filterbar_category"]' ); for (var i = 0; i < boxes.length; i++) { if (boxes[i].checked) { return true; } } return false; } function switchToListView() { if (!isMonthView()) return; var href = window.location.href; // Already list view? Do nothing if (href.indexOf('tribe_events_display=list') !== -1) return; // Add list view parameter if (href.indexOf('?') === -1) { window.location.href = href + '?tribe_events_display=list'; } else { window.location.href = href + '&tribe_events_display=list'; } } document.addEventListener('change', function (e) { var target = e.target; if ( target && target.type === 'checkbox' && target.name && target.name.indexOf('tribe_events_filterbar_category') === 0 ) { setTimeout(function () { if (categoryChecked()) { switchToListView(); } }, 200); } }); })();