Change conditional for collapsible details to fix a bug in chrome