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

Use rowspan for molecule

This commit is contained in:
Mickaël Véril 2020-02-19 18:01:18 +01:00
parent c9bea63f51
commit aaee32b695

View File

@ -429,12 +429,10 @@ draft: false
Reflect.setPrototypeOf(ex[2], excitationType.prototype) Reflect.setPrototypeOf(ex[2], excitationType.prototype)
Reflect.setPrototypeOf(ex[3], VertExcitationKind.prototype) Reflect.setPrototypeOf(ex[3], VertExcitationKind.prototype)
var tr = $("<tr/>") var tr = $("<tr/>")
var tdmol = $("<td/>")
if (printmol) { if (printmol) {
$(tdmol).text(molecule) $("<td/>",{rowspan:moldat.size}).text(molecule).appendTo(tr)
printmol = false printmol = false
} }
tr.append(tdmol)
var Vertkindtext = "" var Vertkindtext = ""
if (ex[3].Value == VertExcitationKinds.Fluorescence.Value) { if (ex[3].Value == VertExcitationKinds.Fluorescence.Value) {
Vertkindtext = String.raw`[${VertExcitationKinds.Fluorescence.LaTeX}]` Vertkindtext = String.raw`[${VertExcitationKinds.Fluorescence.LaTeX}]`