diff --git a/static/scripts/profile.js b/static/scripts/profile.js index 0148881..bcfd6ec 100644 --- a/static/scripts/profile.js +++ b/static/scripts/profile.js @@ -70,7 +70,7 @@ $('#categories button').unbind().click(function() { if (confirm('Are you sure you want to delete this category?')) { - removeCategory($(this).attr('data-categoryId')); + removeCategory(parseInt($(this).attr('data-categoryId'))); } }); }