linting
parent
4e07584a79
commit
81311d971e
|
|
@ -105,7 +105,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||
});
|
||||
// Disable html scrolling when calendar is open
|
||||
cal.on('show', () => {
|
||||
document.querySelector('html').classList.add('is-clipped');
|
||||
var _a;
|
||||
(_a = document.querySelector('html')) === null || _a === void 0 ? void 0 : _a.classList.add('is-clipped');
|
||||
});
|
||||
// Reenable scrolling, if a modal window is not open
|
||||
cal.on('hide', () => {
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ declare const exports: Record<string, unknown> & {
|
|||
|
||||
// Disable html scrolling when calendar is open
|
||||
cal.on('show', () => {
|
||||
document.querySelector('html')!.classList.add('is-clipped')
|
||||
document.querySelector('html')?.classList.add('is-clipped')
|
||||
})
|
||||
|
||||
// Reenable scrolling, if a modal window is not open
|
||||
|
|
@ -184,7 +184,7 @@ declare const exports: Record<string, unknown> & {
|
|||
// Get the datepicker container element
|
||||
const datepickerElement = containerElement.querySelector(
|
||||
`#${cal._id as string}`
|
||||
)!
|
||||
) as HTMLElement
|
||||
|
||||
// Override the previous and next month button styles
|
||||
const datePickerNavButtonElements = datepickerElement.querySelectorAll(
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue