Skip to content

Commit

Permalink
update demo doi
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephMcArthur authored Sep 5, 2024
1 parent 6c449fc commit 9d6ba80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/embed/oab_embed_ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ $('body').on('click','.save',save);

var preview = function(e) {
e.preventDefault();
save(undefined, $('.section:visible').first().attr('preview') ? $('.section:visible').first().attr('preview') : ($(this).attr('val') ? $(this).attr('val') : (_oab.plugin === 'instantill' ? '10.1016/j.spmi.2019.106308' : '10.1016/j.spmi.2019.106308')));
save(undefined, $('.section:visible').first().attr('preview') ? $('.section:visible').first().attr('preview') : ($(this).attr('val') ? $(this).attr('val') : (_oab.plugin === 'instantill' ? '10.1016/j.cplett.2012.10.045' : '10.1016/j.cplett.2012.10.045')));
}
$('body').on('click', '.preview', preview);

Expand Down Expand Up @@ -346,7 +346,7 @@ jQuery(document).ready(function() {
}
}
if (eurl) {
var ex = 'Here is an example:<br> <a href ="' + eurl + '?doi=10.1016/j.spmi.2019.106308&[email protected]" target="_blank"> '+ eurl +'?doi=10.1016/j.spmi.2019.106308&[email protected]</a>.<br><br>Any DOI will work, and you don’t need to include an email if you don’t have it.';
var ex = 'Here is an example:<br> <a href ="' + eurl + '?doi=10.1016/j.cplett.2012.10.045&[email protected]" target="_blank"> '+ eurl +'?doi=10.1016/j.cplett.2012.10.045&[email protected]</a>.<br><br>Any DOI will work, and you don’t need to include an email if you don’t have it.';
$('#embeddedexample').html(ex).show();
} else {
$('#noembeddedexampleavailable').show();
Expand Down

0 comments on commit 9d6ba80

Please sign in to comment.