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