Improved frontpage

This commit is contained in:
2017-06-25 18:06:03 +02:00
parent 8001b30436
commit aa1d791e24
5 changed files with 16 additions and 2 deletions

View File

@ -138,4 +138,10 @@ export function removeAnimeFromCollection(arn: AnimeNotifier, button: HTMLElemen
})
.catch(console.error)
.then(() => arn.loading(false))
}
// Chrome extension installation
export function installExtension(arn: AnimeNotifier, button: HTMLElement) {
let browser: any = window["chrome"]
browser.webstore.install()
}