# themify-event-post/trunk/assets/admin_script.js

Themify Event Post, version trunk. 1 lines.

- Page: https://pluginprobe.com/plugins/themify-event-post/trunk/code/assets/admin_script.js
- Raw: https://pluginprobe.com/plugins/themify-event-post/trunk/raw/assets/admin_script.js
- Modified: 2024-02-19T10:13:02+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/themify-event-post/trunk/code/assets/admin_script.js#L10-L20`.

```javascript
jQuery(($=>{"use strict";$("#buy_tickets").on("change",(function(){""==$(this).val()?$(".themify-event-ticket").hide():$(".themify-event-ticket").fadeIn()})).trigger("change");const t=document.getElementById("to_be_announced"),e=document.getElementById("start_date"),n=document.getElementById("end_date"),c=()=>{e.required=n.required=!t.checked};t.addEventListener("change",c),c()}));
```
