797 Video Updates

'); }, success: function( response ) { $('#index-filter-list .loading-overlay').remove(); response = JSON.parse(response); if(category) { window.history.pushState({"html":response.html,"pageTitle":response.title},"","/category/" + category + "/"); } else { window.history.pushState({"html":response.html,"pageTitle":response.title},"","/updates/"); } $("title").text(response.title); $("#index-filter-list").html(response.html); //$('.tag-container.tagcolor'+last_active_tab).show(); //$('.action-buttons').addClass('tagcolor'+last_active_tab); $(".chosen-select").chosen(); if($('#future_video').length > 0) { videojs(document.getElementsByClassName("video-js")[0], {}, function(){ // Player (this) is initialized and ready. }); } }, error: function( ) { $('#index-filter-list .loading-overlay').remove(); console.log('error') } }); } function submitFilterForm(last_active_tab) { var category = $('select[name="category"]').val(); var form = $('form[name=filters]'); $.ajax( { type: "GET", url: '/ajax.php?func=filter_list', data: form.serialize(), beforeSend: function( xhr) { $('#index-filter-list').append('
'); }, success: function( response ) { $('#index-filter-list .loading-overlay').remove(); response = JSON.parse(response); if(category) { window.history.pushState({"html":response.html,"pageTitle":response.title},"", "/category/"+ category +"/?" + form.serialize()); } else { window.history.pushState({"html":response.html,"pageTitle":response.title},"", "/updates/?" + form.serialize()); } $("title").text(response.title); $("#index-filter-list").html(response.html); $('.tag-container.tagcolor'+last_active_tab).show(); $('.action-buttons').addClass('tagcolor'+last_active_tab); $(".chosen-select").chosen(); if($('#future_video').length > 0) { videojs(document.getElementsByClassName("video-js")[0], {}, function(){ // Player (this) is initialized and ready. }); } }, error: function( ) { $('#index-filter-list .loading-overlay').remove(); console.log('error') } }); }
Top Categories
Top Models

Why wait?

Join The Pissing Site everyone is talking about
Get instant access