Fixed unused locals

This commit is contained in:
2018-11-16 16:46:56 +09:00
parent bc79600223
commit 70a2cc275d
8 changed files with 9 additions and 22 deletions

View File

@ -1,16 +1,3 @@
import AnimeNotifier from "../AnimeNotifier"
// Chrome extension installation
export function installExtension(arn: AnimeNotifier, button: HTMLElement) {
let browser: any = window["chrome"]
if(browser && browser.webstore) {
browser.webstore.install()
} else {
window.open("https://chrome.google.com/webstore/detail/anime-notifier/hajchfikckiofgilinkpifobdbiajfch", "_blank")
}
}
// Desktop app installation
export function installApp() {
alert("Open your browser menu > 'Install Anime Notifier'.")