diff --git a/apps/ajax/templates/ajax/index.html b/apps/ajax/templates/ajax/index.html index 6555dd5..6217568 100644 --- a/apps/ajax/templates/ajax/index.html +++ b/apps/ajax/templates/ajax/index.html @@ -24,13 +24,13 @@ var dynUrl = "{% url 'subcategories-filtered' 0 %}"; $('#subcategories').empty(); $.ajax({ - type: "GET", - url: dynUrl.replace('0', category.value), - success: function(opts){ - $.each(opts, function(i, opt) { - $('#subcategories').append(''); - }); - } + type: "GET", + url: dynUrl.replace('0', category.value), + success: function(opts){ + $.each(opts, function(i, opt) { + $('#subcategories').append(''); + }); + } }); }