Skip to content

Commit

Permalink
fix learn more link
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephMcArthur committed May 8, 2022
1 parent 5da32b5 commit de5d2ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/shareyourpaper/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ <h2>How it works</h2>
<script>

var learnmore = function() {
$('#_oab_nodoi').replaceWith('Try an example <a href="#" id="runexample"><u>10.1126/scitranslmed.abc2344</u></a> or <a href="#" class="learnmore"><u>learn more</u></a>.');
$('#_oaw_nodoi').replaceWith('Try an example <a href="#" id="runexample"><u>10.1126/scitranslmed.abc2344</u></a> or <a href="#" class="learnmore"><u>learn more</u></a>.');
if ($('#about').is(':visible')) {
$('#shareyourpaper').toggle();
$('#about').toggle();
Expand All @@ -220,7 +220,7 @@ <h2>How it works</h2>
});

jQuery(document).ready(function() {
$('body').on('click','#runexample',function(e) { e.preventDefault(); $('#_oab_input').val('10.1126/scitranslmed.abc2344'); _oab.find(); });
$('body').on('click','#runexample',function(e) { e.preventDefault(); $('#_oaw_input').val('10.1126/scitranslmed.abc2344'); _oaw.find(); });
$('body').on('click','.learnmore',function(e) {
e.preventDefault();
$('#shareyourpaper').toggle();
Expand Down

0 comments on commit de5d2ef

Please sign in to comment.