From ccc1dfdeb91e572d9dd8d34a7c1b68f55827061e Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Wed, 26 Oct 2016 11:10:08 +0200
Subject: [PATCH] Correct bug: toggle abs in scipost_physics_recent

---
 .../templates/journals/scipost_physics_recent.html  | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/journals/templates/journals/scipost_physics_recent.html b/journals/templates/journals/scipost_physics_recent.html
index 3f3d4eeac..cee2759e5 100644
--- a/journals/templates/journals/scipost_physics_recent.html
+++ b/journals/templates/journals/scipost_physics_recent.html
@@ -2,6 +2,19 @@
 
 {% block pagetitle %}: SciPost Physics: recent{% endblock pagetitle %}
 
+{% block headsup %}
+<script>
+  $(document).ready(function(){
+
+  $(".publicationAbstract").hide();
+
+  $(".toggleAbstractButton").click(function(){
+  $(this).parent("li").parent("ul").siblings("p.publicationAbstract").toggle();
+  });
+  });
+</script>
+{% endblock headsup %}
+
 {% block bodysup %}
 
 
-- 
GitLab