Fix blank tracks view when no local session is set
This commit is contained in:
parent
f396bb4390
commit
363305fa8d
1 changed files with 2 additions and 1 deletions
|
@ -641,7 +641,8 @@ var AIRTIME = (function(AIRTIME) {
|
|||
"fnStateLoad": function fnLibStateLoad(oSettings) {
|
||||
var settings = JSON.parse(localStorage.getItem('datatables-library'));
|
||||
// Hacky; always set the visibility of the last column (actions buttons) to true
|
||||
settings.abVisCols[settings.abVisCols.length - 1] = true;
|
||||
if (settings && settings.abVisCols) settings.abVisCols[settings.abVisCols.length - 1] = true;
|
||||
// settings.abVisCols[settings.abVisCols.length - 1] = true;
|
||||
|
||||
try {
|
||||
return settings;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue