added 'jquery-ui-draggable' to the dependency array for the quiztech-builder-script in quiztech_theme/functions.php

This commit is contained in:
Ruben Ramirez 2025-04-03 23:01:34 -05:00
parent ca097b4cdd
commit a5c03e53fc

View file

@ -59,7 +59,7 @@ function quiztech_theme_enqueue_scripts() {
wp_enqueue_script(
'quiztech-builder-script', // Unique handle
$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,
true // Load in footer
);