debug: remove condition to test if enqueue works

This commit is contained in:
FrankZamora
2025-11-27 14:42:43 -06:00
parent 096f9716ef
commit 50a8c2bf18
2 changed files with 4 additions and 4 deletions

View File

@@ -77,7 +77,7 @@
border-bottom: 3px solid transparent;
padding: 0.3rem 0.3rem;
font-weight: 600;
font-size: 0.9rem;
font-size: 0.83rem;
transition: all 0.3s ease;
}

View File

@@ -44,9 +44,9 @@ final class YoutubeFacadeHooksRegistrar
*/
public function enqueueAssets(): void
{
// Only on singular content (posts, pages, custom post types)
// Changed from is_single() to is_singular() to cover all content types
if (!is_singular()) {
// Load on all frontend pages (condition removed for debugging)
// TODO: Re-add is_singular() check after confirming assets load
if (is_admin()) {
return;
}