ESLint Migration
This commit is contained in:
@@ -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';
|
||||
};
|
||||
|
Reference in New Issue
Block a user