Untitled

mail@pastecode.io avatar
unknown
html
2 years ago
896 B
2
Indexable
Never
<script>
    jQuery(document).ready(function($) {
	        $("a.custom.fusion-social-network-icon.fusion-tooltip.fusion-custom.awb-icon-custom").removeAttr("target");
    });
</script>


<script type="text/javascript">
 
    jQuery(document).ready(function() {
        
 console.log("ready");
        var revapi = jQuery('#rev_slider_4_1').show().revolution({
 
            waitForInit: true,
 
            /* SLIDER SETTINGS CONTINUED */
 
        });
 console.log(revapi);
jQuery(window).on('load', function() {
    console.log("loaded");
    
    jQuery("body").on("click", ".agp__buttonType__button", function() {
        console.log("clicked");
        revapi.revstart();
    });
        
});

        
var timer = setInterval(function () {
    
    if( jQuery('.agp__wrapper').length == 0 )
    {
        revapi.revstart();
        clearInterval(timer)
    } }, 100);
    
});


 
</script>