fix for recent comics not loading.

This commit is contained in:
2022-04-01 20:40:39 +01:00
parent 115fb66b01
commit 0da7ef82b2
3 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ $(document).ready(function() {
"type": "POST",
"url": "/comic/recent/json/",
"data": function ( d ) {
d.csrfmiddlewaretoken = Cookies.get('csrftoken');
d.csrfmiddlewaretoken = $("input[name='csrfmiddlewaretoken']")[0].value;
},
},
"rowCallback": function( row, data, index ) {