Use class=hidden instead of inline style display:none.

This commit is contained in:
voussoir 2020-09-09 13:13:38 -07:00
parent edca32e81c
commit 71e87f83f7

View file

@ -197,7 +197,7 @@
</ul> </ul>
</div> </div>
{% endfor %} {% endfor %}
<div id="search_builder_expression" {% if not search_kwargs["tag_expression"]%}style="display:none"{%endif%}> <div id="search_builder_expression" {% if not search_kwargs["tag_expression"]%}class="hidden"{%endif%}>
<span>Tag Expression:</span> <span>Tag Expression:</span>
<input id="search_builder_expression_input" name="tag_expression" type="text" <input id="search_builder_expression_input" name="tag_expression" type="text"
value="{{search_kwargs['tag_expression'] or ''}}" value="{{search_kwargs['tag_expression'] or ''}}"