more javascript issues

This commit is contained in:
Jakob Ketterl 2019-07-09 17:34:24 +02:00
parent 438efa655f
commit 2536d9f747

View File

@ -1,9 +1,9 @@
$(function(){
var converter = new showdown.Converter();
$.ajax('/api/features').done(function(data){
$table = $('table.features');
var $table = $('table.features');
$.each(data, function(name, details) {
requirements = $.map(details.requirements, function(r, name){
var requirements = $.map(details.requirements, function(r, name){
return '<tr>' +
'<td></td>' +
'<td>' + name + '</td>' +