| @@ -38,9 +38,9 @@ | ||
| 38 | 38 | */ |
| 39 | 39 | public function enqueue() |
| 40 | 40 | { |
| 41 | 41 | if (Plugin::instance()->editor->is_edit_mode()) { |
| 42 | - wp_enqueue_script('ui-nested-elements', UICORE_ELEMENTS_ASSETS . '/js/components/nested-elements.js', [], UICORE_ELEMENTS_VERSION, true); | |
| 42 | + wp_enqueue_script('ui-nested-elements', UICORE_ELEMENTS_ASSETS . '/js/components/nested-elements.js', ['nested-elements', 'elementor-editor', 'elementor-common'], UICORE_ELEMENTS_VERSION, true); | |
| 43 | 43 | } |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | /** |