forked from leftypol/leftypol
Enable posting from catalog without JS
Thank you based lewdposter
This commit is contained in:
parent
b227982390
commit
79156cbbe4
|
@ -45,9 +45,4 @@ if (active_page == 'catalog') $(function(){
|
|||
$(this).css('width', 'auto');
|
||||
}
|
||||
});
|
||||
|
||||
$('#post-form-opener').on('click', function(e) {
|
||||
$('#post-form-container').css('display', 'unset');
|
||||
$('#post-form-opener').css('display', 'none');
|
||||
});
|
||||
});
|
||||
|
|
|
@ -20,10 +20,14 @@
|
|||
<div class="subtitle">{{ settings.subtitle }}</div>
|
||||
</header>
|
||||
{% if not no_post_form %}
|
||||
<center><a href="#" id="post-form-opener">[ {% trans 'Create new thread' %} ]</a></center>
|
||||
<div id="post-form-container" style="display:none;">
|
||||
{% include 'post_form.html' %}
|
||||
<details id="post-form-details">
|
||||
<summary style="list-style: none">
|
||||
<center>[ {% trans 'Create new thread' %} ]</center>
|
||||
</summary>
|
||||
<div style="margin: 1em 0;">
|
||||
{% include 'post_form.html' %}
|
||||
</div>
|
||||
</details>
|
||||
{% endif %}
|
||||
<div class="controls">
|
||||
<ul style="display: none">
|
||||
|
|
Loading…
Reference in New Issue
Block a user