include call to jQuery into if block
This commit is contained in:
parent
20d9e1aa89
commit
5e115c1a76
|
@ -37,8 +37,8 @@
|
||||||
|
|
||||||
</div><!-- .carousel -->
|
</div><!-- .carousel -->
|
||||||
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
jQuery( ".carousel-item" ).first().addClass( "active" );
|
jQuery( ".carousel-item" ).first().addClass( "active" );
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<?php endif; ?>
|
||||||
|
|
Reference in New Issue