Display totals only when players are not available fix #16

This commit is contained in:
Brian Miyaji
2014-03-29 00:31:44 +11:00
parent 3734e53826
commit 64e620443b
2 changed files with 84 additions and 88 deletions

View File

@@ -24,15 +24,14 @@ function viewport() {
/* Data Tables */
if (viewport().width > 640) {
$(".sp-league-table, .sp-event-performance, .sp-player-list").each(function() {
sort = $(this).hasClass("sp-sortable-table");
$(".sp-sortable-table").each(function() {
$(this).dataTable({
"aaSorting": [],
"bAutoWidth": false,
"bFilter": false,
"bInfo": false,
"bPaginate": false,
"bSort": sort,
"bSort": true,
"oLanguage": {
"oAria": {
"sSortAscending": "",