2
0
mirror of https://github.com/jfmcbrayer/brutaldon synced 2024-12-22 13:26:14 +01:00

Fix issues with enhancement of modals and notifications.

This commit is contained in:
Jason McBrayer 2019-03-29 19:48:31 -04:00
parent 77ba674ffc
commit c28c5af2bb

View File

@ -117,7 +117,7 @@
{% elif notifications and preferences.notifications %}
<span ic-src="{% url 'notes_count' %}"
ic-poll="{{ preferences.poll_frequency }}s"
ic-target="this"
ic-target="this" ic_push_url="false"
ic-select-from-response="#notes-count">
<span >Notifications ({{ notifications }})</span>
</span>
@ -136,6 +136,7 @@
<a class="navbar-item" href="{% url "toot" %}"
ic-get-from="{% url "toot" %}"
ic-target="#new-toot-modal"
ic-enhance="false"
ic-on-complete="$('#new-toot-modal').toggleClass('is-active');">
<span class="fa fa-edit"> </span>
<span >New Toot</span>
@ -143,6 +144,7 @@
<a class="navbar-item" href="{% url "search" %}"
ic-get-from="{% url "search" %}"
ic-target="#new-toot-modal"
ic-enhance="false"
ic-on-complete="$('#new-toot-modal').toggleClass('is-active');">
<span class="fa fa-search"> </span>
<span >Search</span>