flatpickr disable mobile

mgibbs189

{{gist file=”test.js” lang=”javascript”}}
<script>
(function($) {
$(function() {
wp.hooks.addFilter(‘facetwp/set_options/date_range’, function(opts, params) {
opts.disableMobile = true;
return opts;
});
});
})jQuery);
</script>
{{/gist}}