Skip to content

Commit 14b7375

Browse files
authored
chore: fix some formatting and grammar nits (#16803)
1 parent 37086fd commit 14b7375

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/material-experimental/mdc-menu/harness/mdc-menu-harness.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {coerceBooleanProperty} from '@angular/cdk/coercion';
1111
import {MatMenuItemHarness} from './mdc-menu-item-harness';
1212
import {MenuHarnessFilters} from './menu-harness-filters';
1313

14-
1514
/**
1615
* Harness for interacting with a MDC-based mat-menu in tests.
1716
* @dynamic

src/material/autocomplete/autocomplete-trigger.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,8 @@ export class MatAutocompleteTrigger implements ControlValueAccessor, AfterViewIn
361361
fromEvent(this._document, 'click') as Observable<MouseEvent>,
362362
fromEvent(this._document, 'touchend') as Observable<TouchEvent>)
363363
.pipe(filter(event => {
364-
// If we're in the Shadow DOM the event target will be the shadow root so we have to fall
365-
// back to check the first element in the path of the click event.
364+
// If we're in the Shadow DOM, the event target will be the shadow root, so we have to
365+
// fall back to check the first element in the path of the click event.
366366
const clickTarget =
367367
(this._isInsideShadowRoot && event.composedPath ? event.composedPath()[0] :
368368
event.target) as HTMLElement;

0 commit comments

Comments
 (0)