derekovecs: adjust column heads when collocator tab is shown
diff --git a/templates/index.html.ep b/templates/index.html.ep
index 0d2440c..c6c2651 100644
--- a/templates/index.html.ep
+++ b/templates/index.html.ep
@@ -67,8 +67,14 @@
return true;
}});
+ var collocatorTable_activated = false;
$( "#tabs" ).on( "tabsactivate", function( event, ui ) {
if (localStorage) localStorage['tab'] = ui.newTab.index();
+ if(ui.newTab.index() == 2 && !collocatorTable_activated) {
+ classicCollocatorTable.columns.adjust();
+ collocatorTable.columns.adjust();
+ collocatorTable_activated = true;
+ }
});
$(function(){