Commit b11f49e6 authored by Jérome Perrin's avatar Jérome Perrin

GUI: fix expandable field displaying property name twice

parent bb2092c7
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
} }
} }
// un-hide the title of the field // un-hide the title of the field
gadget.props.element.children[1].style.display = ''; // gadget.props.element.children[1].style.display = '';
// if the gadget has properties defined (is an object with properties) // if the gadget has properties defined (is an object with properties)
if (gadget.props.definition.property_def.properties) { if (gadget.props.definition.property_def.properties) {
properties_dict = gadget.props.definition.property_def.properties; properties_dict = gadget.props.definition.property_def.properties;
......
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