Use no_javascript preference in place of theme.is_brutalist in some places
This commit is contained in:
parent
275e6b1fca
commit
2d0fd95d5f
|
@ -34,6 +34,8 @@
|
|||
href="{% static 'css/bulma-badge.min.css' %}">
|
||||
<link rel="stylesheet"
|
||||
href="{% static 'css/photobox.css' %}">
|
||||
{% endif %}
|
||||
{% if not preferences.no_javascript %}
|
||||
<script type="text/javascript" src="{% static 'js/jquery.min.js' %}"></script>
|
||||
<script type="text/javascript" src="{% static 'js/intercooler.js' %}"></script>
|
||||
<script type="text/javascript" src="{% static 'js/jquery.photobox.js' %}"></script>
|
||||
|
@ -165,7 +167,7 @@
|
|||
</div>
|
||||
</footer>
|
||||
|
||||
{% if not preferences.theme.is_brutalist %}
|
||||
{% if not preferences.no_javascript %}
|
||||
|
||||
<script type="application/javascript">
|
||||
$(document).ready(function () {
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{% if not preferences.theme.is_brutalist %}
|
||||
{% if not preferences.theme.no_javascript %}
|
||||
<script type="application/javascript">
|
||||
Intercooler.ready(characterCountSetup);
|
||||
</script>
|
||||
|
|
|
@ -127,7 +127,7 @@
|
|||
class="level-item emoji-link" title="custom emoji reference">😊</a>
|
||||
</div>
|
||||
</div>
|
||||
{% if not preferences.theme.is_brutalist %}
|
||||
{% if not preferences.no_javascript %}
|
||||
<script type="application/javascript">
|
||||
fileButtonUpdaters();
|
||||
Intercooler.ready(fileButtonUpdaters);
|
||||
|
|
|
@ -29,7 +29,7 @@ mastodon.status_context(<numerical id>)
|
|||
<hr class="is-hidden">
|
||||
{% endfor %}
|
||||
|
||||
{% if not preferences.theme.is_brutalist %}
|
||||
{% if not preferences.no_javascript %}
|
||||
<script type="application/javascript">
|
||||
Intercooler.ready(expandCWButtonPrepare);
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue