Skip to content

Node.js based forum software built for the modern web

after selecting a category in composer, auto-select the next field

psychobunny9262c8b9f68b
diff --git a/public/src/modules/composer/categoryList.js b/public/src/modules/composer/categoryList.js
index f246b9ac50..1eb86051bf 100644
--- a/public/src/modules/composer/categoryList.js
+++ b/public/src/modules/composer/categoryList.js
@@ -35,6 +35,8 @@ define('composer/categoryList', function() {
if (postData.cid) {
postData.cid = this.value;
}
+
+ $('[tabindex=' + (parseInt($(this).attr('tabindex'), 10) + 1) + ']').trigger('focus');
});
};