10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 13:53:48 +01:00

Remove comment on the table

This commit is contained in:
Mickaël Véril 2019-12-18 19:55:56 +01:00
parent a6d32ba6df
commit ad97382255

View File

@ -252,13 +252,13 @@ draft: false
for (const d of window.filt) { for (const d of window.filt) {
var row = $("<tr/>") var row = $("<tr/>")
var rowd = [] var rowd = []
const els = [d.molecule, d.comment, d.code, d.method, d.DOI] const els = [d.molecule, d.code, d.method, d.DOI]
var tableels = els.slice() var tableels = els.slice()
if (d instanceof oneStateDataFileBase) { if (d instanceof oneStateDataFileBase) {
tableels.splice(3, 0, d.geometry) tableels.splice(2, 0, d.geometry)
} }
else if (d instanceof twoStateDataFileBase) { else if (d instanceof twoStateDataFileBase) {
tableels.splice(3, 0, [d.GS, d.ES]) tableels.splice(2, 0, [d.GS, d.ES])
} }
tdtemp=$("<td/>") tdtemp=$("<td/>")
for (const el of tableels) { for (const el of tableels) {
@ -360,7 +360,6 @@ draft: false
<table id="dat_table" class="datatable"> <table id="dat_table" class="datatable">
<thead> <thead>
<th>Molecule</th> <th>Molecule</th>
<th>Comment</th>
<th>Code</th> <th>Code</th>
<th id="Geom_th" hidden=true>Geometry</th> <th id="Geom_th" hidden=true>Geometry</th>
<th id="GSGeom_th" hidden=true>Ground state geometry</th> <th id="GSGeom_th" hidden=true>Ground state geometry</th>