10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 05:43:46 +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 th=$("<th/>",{scope:"column"})
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();
datadic = new Map()
for (const dat of paperdata) {