File "event-editor.min.js"

Full Path: /home/londdqdw/public_html/06/wp-content/plugins/the-events-calendar/src/resources/js/event-editor.min.js
File size: 1.01 KB
MIME-type: text/plain
Charset: utf-8

/**
 * This JS file was auto-generated via Terser.
 *
 * Contributors should avoid editing this file, but instead edit the associated
 * non minified file file. For more information, check out our engineering docs
 * on how we handle JS minification in our engineering docs.
 *
 * @see: https://evnt.is/dev-docs-minification
 */

var tribe_events_event_editor=tribe_events_event_editor||{};!function($,obj){"use strict";obj.selectors={featuredEventCheckbox:'input[name="feature_event"]',stickyInMonthViewCheckbox:'input[name="EventShowInCalendar"]'},obj.auto_enable_sticky_field=function(){$(this).prop("checked")&&$(obj.selectors.stickyInMonthViewCheckbox).prop("checked",!0)},obj.bindFeaturedEvents=function(){$(obj.selectors.featuredEventCheckbox).on("change",obj.auto_enable_sticky_field),$(obj).trigger("event-editor-post-init.tribe")},obj.init=()=>{obj.bindFeaturedEvents(),wp.widgets&&wp.blocks&&!wp.blocks.getBlockType("core/legacy-widget")&&wp.widgets.registerLegacyWidgetBlock()},$(obj.init)}(jQuery,tribe_events_event_editor);