diff --git a/scipost/static/scipost/table-row.js b/scipost/static/scipost/table-row.js index 3e4dfac555c4360487a9a5a65f61968be75fd580..5838cf44b0b71c081b530b7300e0c8b2d2683fd7 100644 --- a/scipost/static/scipost/table-row.js +++ b/scipost/static/scipost/table-row.js @@ -1,5 +1,5 @@ $(document).ready(function($) { - $(".table-row").click(function() { + $(".table-row").on("click", function() { window.document.location = $(this).data("href"); }); }); diff --git a/scipost/templates/scipost/bare_base.html b/scipost/templates/scipost/bare_base.html index 4b6f5ff810202b1e1fa78f800208ed135adcc99b..ca203b0e3e734721b2b3a08fae5c6afe715627e1 100644 --- a/scipost/templates/scipost/bare_base.html +++ b/scipost/templates/scipost/bare_base.html @@ -9,7 +9,8 @@ <link href="https://fonts.googleapis.com/css?family=Merriweather+Sans:300,400,700" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="{% static 'scipost/SciPost.css' %}" /> <link rel="stylesheet" type="text/css" href="{% static 'fa/css/font-awesome.min.css' %}" /> - <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> + <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script> + <script src="https://code.jquery.com/jquery-migrate-3.1.0.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script> {% render_bundle 'main' 'css' %}