Removed unused parameters in scripts

This commit is contained in:
2019-04-22 18:06:50 +09:00
parent 6e4097b3b6
commit b78785cadc
19 changed files with 31 additions and 30 deletions

View File

@ -1,7 +1,7 @@
import AnimeNotifier from "../AnimeNotifier"
// Edit post
export function editPost(arn: AnimeNotifier, element: HTMLElement) {
export function editPost(_: AnimeNotifier, element: HTMLElement) {
let postId = element.dataset.id
if(!postId) {
@ -147,7 +147,7 @@ export async function reply(arn: AnimeNotifier, element: HTMLElement) {
}
// Cancel replying to a post
export function cancelReply(arn: AnimeNotifier, element: HTMLElement) {
export function cancelReply(arn: AnimeNotifier, _: HTMLElement) {
arn.reloadContent()
}