Fixed post editing

This commit is contained in:
Eduard Urbach 2019-06-09 12:12:05 +09:00
parent 1c0f5e9ac6
commit 8e30f3e7c0
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0

View File

@ -10,12 +10,10 @@ export function editPost(_: AnimeNotifier, element: HTMLElement) {
} }
let render = document.getElementById("render-" + postId) as HTMLElement let render = document.getElementById("render-" + postId) as HTMLElement
let toolbar = document.getElementById("toolbar-" + postId) as HTMLElement
let source = document.getElementById("source-" + postId) as HTMLElement let source = document.getElementById("source-" + postId) as HTMLElement
let edit = document.getElementById("edit-toolbar-" + postId) as HTMLElement let edit = document.getElementById("edit-toolbar-" + postId) as HTMLElement
render.classList.toggle("hidden") render.classList.toggle("hidden")
toolbar.classList.toggle("hidden")
source.classList.toggle("hidden") source.classList.toggle("hidden")
edit.classList.toggle("hidden") edit.classList.toggle("hidden")