Skip to content

Commit

Permalink
Vendor: Don't load flatpickr for Web 2 >= 2.9.0
Browse files Browse the repository at this point in the history
Web 2.9.0 will introduce the flatpickr.
  • Loading branch information
lippserd committed Dec 11, 2019
1 parent 82e99a0 commit 1ad1763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
$this->provideCssFile('forms.less');
$this->provideCssFile('system-report.css');

if (version_compare(Version::VERSION, '2.8.0', '<')) {
if (version_compare(Version::VERSION, '2.9.0', '<')) {
$this->provideJsFile('vendor/flatpickr.min.js');
$this->provideCssFile('vendor/flatpickr.min.css');
}
Expand Down

0 comments on commit 1ad1763

Please sign in to comment.