Commit bf1a1510 authored by Jacob Bearce's avatar Jacob Bearce

Enqueue front-end--datepicker.min.js after nf-front-end-deps instead of nf-front-end; Close #3808

parent 51a80f4c
Pipeline #726 passed with stage
in 53 seconds
......@@ -538,7 +538,7 @@ final class NF_Display_Render
if( $is_preview || in_array( $form_id, self::$form_uses_datepicker ) ) {
wp_enqueue_style( 'pikaday-responsive', $css_dir . 'pikaday-package.css', $ver );
wp_enqueue_script('nf-front-end--datepicker', $js_dir . 'front-end--datepicker.min.js', array( 'jquery', 'nf-front-end' ), $ver );
wp_enqueue_script('nf-front-end--datepicker', $js_dir . 'front-end--datepicker.min.js', array( 'jquery', 'nf-front-end-deps' ), $ver );
}
if( $is_preview || in_array( $form_id, self::$form_uses_inputmask ) ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment