diff --git a/assets/css/sportspress.css b/assets/css/sportspress.css index d7229d3e..e56755e0 100644 --- a/assets/css/sportspress.css +++ b/assets/css/sportspress.css @@ -42,7 +42,6 @@ .sp-pagination tfoot tr td { text-align: center; cursor: pointer; - opacity: 0.5; } .sp-pagination tfoot tr td.prev { text-align: left; @@ -54,7 +53,7 @@ cursor: inherit; } .sp-pagination tfoot tr td.active { - opacity: 1; + opacity: 0.5; cursor: default; } .sp-pagination tfoot tr td.disabled { @@ -82,7 +81,6 @@ } .sp-event-list .column-article a .dashicons { padding-right: 3px; - text-decoration: none; } /* Google Maps */ diff --git a/assets/js/sportspress.js b/assets/js/sportspress.js index 1f8ad668..e81c1b28 100644 --- a/assets/js/sportspress.js +++ b/assets/js/sportspress.js @@ -53,12 +53,12 @@ function viewport() { $(nPaging).addClass('pagination').append( ''+ '' + - ''+ - ''+ + ''+ + ''+ '' + '' ); - var els = $('a', nPaging); + var els = $('td', nPaging); $(els[0]).bind( 'click.DT', { action: "previous" }, fnClickHandler ); $(els[1]).bind( 'click.DT', { action: "next" }, fnClickHandler ); }, @@ -91,7 +91,7 @@ function viewport() { // Add the new cells and their event handlers for ( j=iStart ; j<=iEnd ; j++ ) { sClass = (j==oPaging.iPage+1) ? 'class="active"' : ''; - $(''+j+'') + $(''+j+'') .insertBefore( $('td:last', an[i])[0] ) .bind('click', function (e) { e.preventDefault(); diff --git a/includes/class-sp-frontend-scripts.php b/includes/class-sp-frontend-scripts.php index 2ab94a47..e91b8b78 100644 --- a/includes/class-sp-frontend-scripts.php +++ b/includes/class-sp-frontend-scripts.php @@ -68,7 +68,7 @@ class SP_Frontend_Scripts { $colors = get_option( 'sportspress_frontend_css_colors' ); - echo '