Skip to content

Commit 1fb9f13

Browse files
joselriothetaPC
andauthored
Update core/src/components/alert/alert.tsx
Co-authored-by: Maria Hutt <[email protected]>
1 parent b87c481 commit 1fb9f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/components/alert/alert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ export class Alert implements ComponentInterface, OverlayInterface {
415415
await present(this, 'alertEnter', iosEnterAnimation, mdEnterAnimation).then(() => {
416416
/**
417417
* Check if alert has only one button and no inputs.
418-
* If so, focus the button, oderwise focus the alert wrapper.
418+
* If so, then focus on the button. Otherwise, focus the alert wrapper.
419419
* This will map to the default native alert behavior.
420420
*/
421421
if (this.buttons.length === 1 && this.inputs.length === 0) {

0 commit comments

Comments
 (0)