|
@@ -5,8 +5,8 @@ |
|
|
block discarded – undo |
|
5
|
5
|
// use Flynt\Utils\Asset; |
|
6
|
6
|
use Flynt\Features\Components\Component; |
|
7
|
7
|
|
|
8
|
|
-add_filter('Flynt/addComponentData?name=GridPostsSlider', function ($data) { |
|
9
|
|
- add_action('wp_enqueue_scripts', function () { |
|
|
8
|
+add_filter('Flynt/addComponentData?name=GridPostsSlider', function($data) { |
|
|
9
|
+ add_action('wp_enqueue_scripts', function() { |
|
10
|
10
|
Component::enqueueAssets('GridPostsSlider', [ |
|
11
|
11
|
[ |
|
12
|
12
|
'name' => 'slick-carousel', |
Please login to merge, or discard this patch.