added function return type
This commit is contained in:
parent
7783ddf0b2
commit
53fbd797fe
|
@ -19,7 +19,7 @@ export function init(): void {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function addAutohideListener() {
|
function addAutohideListener(): void {
|
||||||
let playerElement = findPlayerElement(PLAYER_ID);
|
let playerElement = findPlayerElement(PLAYER_ID);
|
||||||
let hideButton: HTMLButtonElement = document.getElementsByClassName('no-margin md-button md-ink-ripple layout-align-center-center layout-row')[0] as HTMLButtonElement;
|
let hideButton: HTMLButtonElement = document.getElementsByClassName('no-margin md-button md-ink-ripple layout-align-center-center layout-row')[0] as HTMLButtonElement;
|
||||||
if (helper.assigned(playerElement) && helper.assigned(hideButton)) {
|
if (helper.assigned(playerElement) && helper.assigned(hideButton)) {
|
||||||
|
|
Loading…
Reference in a new issue