diff --git a/_bibliography/papers.bib b/_bibliography/papers.bib index 7e93bba..1c707bc 100644 --- a/_bibliography/papers.bib +++ b/_bibliography/papers.bib @@ -9,7 +9,7 @@ author={Einstein, Albert}, year={1956}, publisher={Courier Corporation,}, - preview={brownian-motion.gif}, + preview={brownian-motion.gif} } @article{einstein1950meaning, @@ -77,5 +77,6 @@ title={Letters on wave mechanics}, author={Einstein, Albert and Schrödinger, Erwin and Planck, Max and Lorentz, Hendrik Antoon and Przibram, Karl}, year={1967}, - publisher={Vision} + publisher={Vision}, + preview={wave-mechanics.gif} } diff --git a/_layouts/bib.html b/_layouts/bib.html index 716fe86..5ce2f1e 100644 --- a/_layouts/bib.html +++ b/_layouts/bib.html @@ -103,12 +103,12 @@ class="more-authors" title="click to view {{more_authors_hide}}" onclick=" - var element = $('span.more-authors'); + var element = $(this); + element.attr('title', ''); var more_authors_text = element.text() == '{{more_authors_hide}}' ? '{{more_authors_show}}' : '{{more_authors_hide}}'; var cursorPosition = 0; var textAdder = setInterval(function(){ element.text(more_authors_text.substring(0, cursorPosition + 1)); - element.attr('title', ''); if (++cursorPosition == more_authors_text.length){ clearInterval(textAdder); } diff --git a/assets/img/publication_preview/wave-mechanics.gif b/assets/img/publication_preview/wave-mechanics.gif new file mode 100644 index 0000000..e9a1536 Binary files /dev/null and b/assets/img/publication_preview/wave-mechanics.gif differ