ESLint Migration

This commit is contained in:
Sidney Keese 2020-09-03 07:59:24 -07:00 committed by Josh Perez
parent 315be542b8
commit 48df8ab3b1
13 changed files with 133 additions and 112 deletions

View file

@ -5,7 +5,6 @@ export const show = (element: HTMLElement): void => {
if (!container) {
throw new TypeError("'.lightbox-container' is required");
}
// tslint:disable-next-line:no-inner-html
container.innerHTML = '';
container.style.display = 'block';
container.appendChild(element);
@ -18,7 +17,6 @@ export const hide = (): void => {
if (!container) {
return;
}
// tslint:disable-next-line:no-inner-html
container.innerHTML = '';
container.style.display = 'none';
};