Skip to content

Commit

Permalink
Merge c66d44b into 2bbe429
Browse files Browse the repository at this point in the history
  • Loading branch information
LuLaValva committed Jan 10, 2024
2 parents 2bbe429 + c66d44b commit 055f84c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ebay-date-textbox/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ class DateTextbox extends Marko.Component<Input, State> {

calculateNumMonths() {
this.state.numMonths =
typeof document !== "undefined" &&
document.documentElement.clientWidth < MIN_WIDTH_FOR_DOUBLE_PANE
? 1
: 2;
Expand Down

0 comments on commit 055f84c

Please sign in to comment.