mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
Autofocus the input when opening a "Set Team Size" popup
This commit is contained in:
@@ -2103,6 +2103,7 @@ Bladeburner.prototype.updateOperationsUIElement = function(el, action) {
|
||||
},
|
||||
});
|
||||
createPopup(popupId, [txt, input, setBtn, cancelBtn]);
|
||||
input.focus();
|
||||
},
|
||||
}));
|
||||
}
|
||||
@@ -2254,6 +2255,7 @@ Bladeburner.prototype.updateBlackOpsUIElement = function(el, action) {
|
||||
},
|
||||
});
|
||||
createPopup(popupId, [txt, input, setBtn, cancelBtn]);
|
||||
input.focus();
|
||||
},
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user