From cc1b8c8336272ed92be2d571b8fd3a1d52a2ca46 Mon Sep 17 00:00:00 2001 From: yuki540 Date: Thu, 19 Apr 2018 00:10:52 +0900 Subject: [PATCH] =?UTF-8?q?update:=20=E3=83=88=E3=83=83=E3=83=97=E3=83=9A?= =?UTF-8?q?=E3=83=BC=E3=82=B8=E9=96=8B=E5=A7=8B=E5=87=A6=E7=90=86=E3=82=92?= =?UTF-8?q?=E5=AE=9F=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scripts/lib/util.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/scripts/lib/util.js b/src/scripts/lib/util.js index ef26ecc..027f9f0 100644 --- a/src/scripts/lib/util.js +++ b/src/scripts/lib/util.js @@ -146,5 +146,13 @@ export const startEndAnimation = () => { end_animation__end.addEventListener('animationend', e => { root.removeChild(end_animation) + startTopPage() }) } + +/** + * top-pageの開始 + */ +export const startTopPage = () => { + top_page.setAttribute('data-state', 'start') +}