Commit 6958e898 authored by Georg Huhs's avatar Georg Huhs
Browse files

small fixes which should go to production

parent c5fd64b1
Pipeline #52533 passed with stage
in 5 seconds
This diff is collapsed.
......@@ -395,7 +395,7 @@ function getMaterialTitle(data, html){
title = getSubscriptedFormula(data.formula_reduced);
if (html !== undefined && html ===false) title = data.formula_reduced;
if (data.space_group_number !== null)
if (data.space_group_number !== null && data.space_group_number !== undefined)
title += ' - space group '+data.space_group_number;
//return '<span style="font-size: 0.9em">'+title+' </span>';
return title;
......
......@@ -300,7 +300,7 @@ class StructureViewerWrapper{
<div style="float: left; position:relative;" >
<img class="view-reset" style="cursor: pointer;" height="18px"
src="${util.IMAGE_DIR}reset.svg" />
<div class="view-reset-tooltip" > Set original view </div>
<div class="view-reset-tooltip" > Reset view </div>
</div>
<!--
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment