Skip to content

Commit

Permalink
forgot the jquery depends
Browse files Browse the repository at this point in the history
  • Loading branch information
cgsmith committed Dec 7, 2022
1 parent 44844db commit 8adae0a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/FlatpickrAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace cgsmith\flatpickr;

use yii\web\JqueryAsset;

class FlatpickrAsset extends \yii\web\AssetBundle
{
public $js = [
Expand All @@ -11,4 +13,8 @@ class FlatpickrAsset extends \yii\web\AssetBundle
public $css = [
'//cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css',
];

public $depends = [
JqueryAsset::class,
];
}

0 comments on commit 8adae0a

Please sign in to comment.