10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-26 06:14:38 +01:00

use \n as method/basis separator in header

This commit is contained in:
Mickaël Véril 2020-02-20 11:55:22 +01:00
parent e66c042d2a
commit da0c2e2a5c

View File

@ -401,7 +401,7 @@ draft: false
var tbody = $("<tbody/>").appendTo(table) var tbody = $("<tbody/>").appendTo(table)
var th=$("<th/>",{scope:"column"}) var th=$("<th/>",{scope:"column"})
head.append(["Molecule", "Transition"].map(x => th.clone().text(x))) head.append(["Molecule", "Transition"].map(x => th.clone().text(x)))
head.append(sortedMethods.map(x => th.clone().text(x.toString().split('-').join('\u2011')))) head.append(sortedMethods.map(x => th.clone().text(x.toString("\n").split('-').join('\u2011'))))
adjustSticky(); adjustSticky();
datadic = new Map() datadic = new Map()
for (const dat of paperdata) { for (const dat of paperdata) {