added 'jquery-ui-draggable' to the dependency array for the quiztech-builder-script in quiztech_theme/functions.php
This commit is contained in:
parent
ca097b4cdd
commit
a5c03e53fc
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ function quiztech_theme_enqueue_scripts() {
|
||||||
wp_enqueue_script(
|
wp_enqueue_script(
|
||||||
'quiztech-builder-script', // Unique handle
|
'quiztech-builder-script', // Unique handle
|
||||||
$builder_script_url,
|
$builder_script_url,
|
||||||
array( 'jquery', 'jquery-ui-sortable' ), // Depends on jQuery and Sortable for drag/drop later
|
array( 'jquery', 'jquery-ui-sortable', 'jquery-ui-draggable' ), // Added draggable dependency
|
||||||
$builder_version,
|
$builder_version,
|
||||||
true // Load in footer
|
true // Load in footer
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue