From 0109e8ba84b80600879fc78ae07eed6a6dee76c6 Mon Sep 17 00:00:00 2001 From: Kohei Tamura Date: Thu, 26 Oct 2017 10:27:41 +0900 Subject: [PATCH] Change to load an animation only at a first access --- src/main/webapp/index.jsp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index beee1614..7fe958e3 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -7,6 +7,7 @@ scope="session" /> +<%! boolean isFirstLoad = true;%> <% session.removeAttribute("dlpinit"); ResourceBundle rb = ResourceBundle.getBundle("messages", request.getLocale()); @@ -35,7 +36,11 @@
- + <% if (isFirstLoad) { isFirstLoad = false;%> + + <% } else { %> + + <% } %>