derekovecs: add raw frequency tooltip to collocate
diff --git a/templates/index.html.ep b/templates/index.html.ep
index 13a56a1..f2da9b4 100644
--- a/templates/index.html.ep
+++ b/templates/index.html.ep
@@ -289,6 +289,11 @@
$("#ccd").css('width', '680px');
classicCollocatorTable.columns.adjust().draw();
},
+ "createdRow": function (row, data, rowIndex) {
+ $.each($('td.collocator', row), function (colIndex) {
+ $(this).attr('title', "f("+data.word+")="+data.f2.toLocaleString("en-GB"));
+ });
+ },
"sScrollY": "780px",
"bScrollCollapse": true,
"bPaginate": false,