onclick to workaround webkit issue with <a /> in <summary />
This commit is contained in:
parent
2db748dff6
commit
1a5fcce117
1 changed files with 7 additions and 2 deletions
|
@ -38,7 +38,9 @@
|
|||
<summary>
|
||||
<div>
|
||||
<div class="avatar">
|
||||
<a href="{% url 'journal:user_profile' user.mastodon_username %}">
|
||||
<a href="{% url 'journal:user_profile' user.mastodon_username %}"
|
||||
onclick="window.location = this.href">
|
||||
{% comment %} onclick to workaround webkit issue with <a /> in <summary /> {% endcomment %}
|
||||
<img src="{{ user.mastodon_account.avatar }}" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
@ -46,7 +48,10 @@
|
|||
<hgroup>
|
||||
<h6 class="nickname">{{ user.display_name }}</h6>
|
||||
<div>
|
||||
<a href="{{ user.mastodon_account.url }}" target="_blank" rel="noopener">
|
||||
<a href="{{ user.mastodon_account.url }}"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
onclick="window.open(this.href)">
|
||||
<span class="handler">@{{ user.mastodon_username }}</span>
|
||||
</a>
|
||||
{% current_user_relationship user as relationship %}
|
||||
|
|
Loading…
Add table
Reference in a new issue