Skip to content

Commit

Permalink
WIP sneaky semicolons...
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickrodee committed Jan 10, 2020
1 parent 32f410d commit f400795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mdc-dom/ponyfill.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function estimateScrollWidth(element: Element): number {
// parent, the offsetParent property will be null (see
// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent).
// This check ensures we only clone the node when necessary.
const htmlEl = element as HTMLElement
const htmlEl = element as HTMLElement;
if (htmlEl.offsetParent !== null) {
return htmlEl.scrollWidth;
}
Expand Down

0 comments on commit f400795

Please sign in to comment.