Skip to content

Commit

Permalink
fix broken method call
Browse files Browse the repository at this point in the history
  • Loading branch information
dasiux committed Jul 28, 2022
1 parent 3316e56 commit 7bf5bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/es6/Plugins/UiModalPluginPrompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class UiModalPluginPrompt extends UiPlugin {
*/
#focus_on_shown() {
if ( this.context.mode !== 'prompt' ) return;
const element = this.getDomRefs( 'prompt.input', false );
const element = this.context.getDomRefs( 'prompt.input', false );
if ( element ) element.focus();
}

Expand Down

0 comments on commit 7bf5bc3

Please sign in to comment.