Skip to content

Commit

Permalink
patch hyperscript syntax error in template
Browse files Browse the repository at this point in the history
  • Loading branch information
facundoolano committed Jan 4, 2024
1 parent c8a5fd0 commit 26021bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feedi/templates/entry_header.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
then on click[shiftKey and metaKey] or keydown[key is 'Enter' and metaKey and shiftKey ] from the closest .feed-entry go to url '{{ url_for("entry_view", id=entry.id) }}' in new window then halt
{% endif %}
{% if entry.target_url %}
then on keydown[key is 'Enter' and not metaKey and not shiftKey] from the closest .feed-entry go to url '{{ entry.target_url }}' in new window then halt
{% if entry.content_url %}then{% endif %} on keydown[key is 'Enter' and not metaKey and not shiftKey] from the closest .feed-entry go to url '{{ entry.target_url }}' in new window then halt
{% endif %}"
{% if entry.target_url %}href="{{ entry.target_url }}" target="_blank"{% endif %}
>{{ entry.title | safe }}</a>
Expand Down

0 comments on commit 26021bc

Please sign in to comment.