ESLint Migration
This commit is contained in:
parent
315be542b8
commit
48df8ab3b1
13 changed files with 133 additions and 112 deletions
|
@ -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';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue