jQuery stopping Popup Pro from working

Look for this script in the child theme functions.php:

<script type=”text/javascript”>

jQuery(document).ready(function ($) {


$(‘.eventList li’:wink:.each( function(i,v)


if($(this).find(‘time’:wink:.attr(‘datetime’:wink:.substring(0,10) ==









This is stopping the popup pro from working. If I remove this code then the popup pops up and works.

The jQuery above is code that was supplied to me by you guys here a few months ago. :slight_smile: Any help would be appreciated.