Hide the other opened box (Bib, Abs), if any (#1002)
This commit is contained in:
parent
37ccb2e434
commit
5e48424e58
@ -1,9 +1,11 @@
|
||||
$(document).ready(function() {
|
||||
$('a.abstract').click(function() {
|
||||
$(this).parent().parent().find(".abstract.hidden").toggleClass('open');
|
||||
$(this).parent().parent().find(".bibtex.hidden.open").toggleClass('open');
|
||||
});
|
||||
$('a.bibtex').click(function() {
|
||||
$(this).parent().parent().find(".bibtex.hidden").toggleClass('open');
|
||||
$(this).parent().parent().find(".abstract.hidden.open").toggleClass('open');
|
||||
});
|
||||
$('a').removeClass('waves-effect waves-light');
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user