-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c449fc
commit 9d6ba80
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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); | ||
|
||
|
@@ -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(); | ||
|