delay-load.min.js at times in critical render path
-
Looks like you intended to load delay-load.min.js not only as file but inline also. This doesn’t seem to be possible at the moment. I help me out with the following patch for now:
--- a/www/wp-content/plugins/debloat/inc/delay-load/delay-load.php
+++ b/www/wp-content/plugins/debloat/inc/delay-load/delay-load.php
@@ -15,7 +15,7 @@ class DelayLoad
{
public $enabled = true;
public $use_js = false;
- public $js_type;
+ public $js_type = 'inline';
public $preload = [];Would be nice to have a setting for that! Or have I overlooked it?
Many thanks for the plugin & Cheers
You must be logged in to reply to this topic.