Skip to content

Commit 32b4476

Browse files
committed
Fix #45: Correct MomentAsset dependency
1 parent bb292cd commit 32b4476

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Version 1.6.4
44

55
- (enh #41): Add Simplified Chinese translations.
66
- (enh #43): Add Slovak translations.
7+
- (bug #45): Correct MomentAsset dependency.
78
- (enh #46): Better defaulting of `form-control` CSS class.
89
- (enh #51): Update to latest release of bootstrap-datarangepicker plugin.
910

MomentAsset.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
*/
1717
class MomentAsset extends \kartik\base\AssetBundle
1818
{
19-
public $jsOptions = ['position' => \yii\web\View::POS_HEAD];
19+
public $jsOptions = ['position' => \yii\web\View::POS_HEAD];
20+
public $depends = [];
2021

2122
/**
2223
* @inheritdoc

0 commit comments

Comments
 (0)