mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 18:16:36 +02:00
after selecting a category in composer, auto-select the next field
This commit is contained in:
@@ -35,6 +35,8 @@ define('composer/categoryList', function() {
|
||||
if (postData.cid) {
|
||||
postData.cid = this.value;
|
||||
}
|
||||
|
||||
$('[tabindex=' + (parseInt($(this).attr('tabindex'), 10) + 1) + ']').trigger('focus');
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user