Skip to content

Node.js based forum software built for the modern web

Hide "Remove" buttun as well

Mega30ad24caa610
diff --git a/public/src/admin/manage/category.js b/public/src/admin/manage/category.js
index 6e7cdb8b16..743fc2e1a4 100644
--- a/public/src/admin/manage/category.js
+++ b/public/src/admin/manage/category.js
@@ -129,6 +129,7 @@ define('admin/manage/category', [
inputEl.val('');
previewBox.css('background-image', '');
modified(inputEl[0]);
+ $(this).parent().addClass('hide').hide();
});
// Icon selection