mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-11 16:18:10 +00:00
core/GUI: give the OK button focus if enabled
This commit is contained in:
parent
8a9b59b1c8
commit
a0de6a5921
@ -626,7 +626,7 @@ export class GUI
|
||||
{
|
||||
if (this._psychoJS.getEnvironment() === ExperimentHandler.Environment.LOCAL || (this._allResourcesDownloaded && this._setRequiredKeys.size >= this._requiredKeys.length))
|
||||
{
|
||||
$("#buttonOk").button("option", "disabled", false);
|
||||
$("#buttonOk").button("option", "disabled", false).focus();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user