Skip to content

Commit 42f304c

Browse files
authored
Merge pull request #395 from CenterForOpenScience/revert-379-hotfix/EOSF-697-fix-links-on-preprint-content-page
Revert "[EOSF-697] Added missing onclick= for click actions"
2 parents c0b1777 + 3f8e261 commit 42f304c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/templates/content/index.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{{#if author.unregisteredContributor}}
1515
<li>{{author.unregisteredContributor}}</li>
1616
{{else}}
17-
<li><a href={{author.users.profileURL}} onclick={{action 'click' 'link' 'Content - Author' author.users.profileURL}}>{{author.users.givenName}} {{author.users.familyName}}</a></li>
17+
<li><a href={{author.users.profileURL}} {{action 'click' 'link' 'Content - Author' author.users.profileURL}}>{{author.users.givenName}} {{author.users.familyName}}</a></li>
1818
{{/if}}
1919
{{/if}}
2020
{{~/each}}
@@ -94,7 +94,7 @@
9494
{{#if model.doi}}
9595
<div class="p-t-xs">
9696
<h4 class="p-v-md f-w-md"><strong>{{t "content.article_doi"}}</strong></h4>
97-
<a href={{doiUrl}} onlick={{action "click" "link" "Content - DOI" doiUrl}}>{{model.doi}}</a>
97+
<a href={{doiUrl}} {{action "click" "link" "Content - DOI" doiUrl}}>{{model.doi}}</a>
9898
</div>
9999
{{/if}}
100100

0 commit comments

Comments
 (0)