From 28fa254331b71168cddc176c64516fef6c4d60ad Mon Sep 17 00:00:00 2001 From: Josh Crawford Date: Wed, 14 Aug 2024 19:56:52 +1000 Subject: [PATCH] Fix a compatibility issue with `nystudio107/craft-plugin-vite` 5.0.2 --- src/helpers/Plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/Plugin.php b/src/helpers/Plugin.php index bc23e2982..7719aca01 100644 --- a/src/helpers/Plugin.php +++ b/src/helpers/Plugin.php @@ -26,7 +26,7 @@ public static function registerAsset(string $path): void 'depends' => [ FormsAsset::class, ], - 'onload' => '', + 'onload' => true, ]; $styleOptions = [