Use .displayAs() instead of .show()

Needed for CSS display to be set as inline-block instead of show()'s inline.
This commit is contained in:
2018-08-31 14:23:23 +02:00
parent 2332bc0960
commit 7405e198eb
3 changed files with 7 additions and 6 deletions

View File

@@ -61,7 +61,7 @@ script(type="text/javascript").
}
{% if node.has_method('PUT') %}
$('.project-mode-view').show();
$('.project-mode-view').displayAs('inline-block');
{% else %}
$('.project-mode-view').hide();
{% endif %}