Open Mor9oth opened 1 year ago
As soon as I use the middleware "\RenatoMarinho\LaravelPageSpeed\Middleware\DeferJavascript::class," I got this error: "Uncaught ReferenceError: GLightbox is not defined" As soon as I remove it, the error also is gone.
<script type=text/javascript> const lightbox = GLightbox({ touchNavigation: true, loop: false, closeEffect: 'fade' });
How can I fix that?
same issue.
As soon as I use the middleware "\RenatoMarinho\LaravelPageSpeed\Middleware\DeferJavascript::class," I got this error: "Uncaught ReferenceError: GLightbox is not defined" As soon as I remove it, the error also is gone.
<script type=text/javascript> const lightbox = GLightbox({ touchNavigation: true, loop: false, closeEffect: 'fade' });
How can I fix that?