summaryrefslogtreecommitdiff
path: root/templates/fluid/template_index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/fluid/template_index.html')
-rw-r--r--templates/fluid/template_index.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/fluid/template_index.html b/templates/fluid/template_index.html
index 89c5be1..12fc918 100644
--- a/templates/fluid/template_index.html
+++ b/templates/fluid/template_index.html
@@ -12,6 +12,10 @@
}
</style>
<link href="$(TEMPLATES_PATH)styles.css" type="text/css" rel="stylesheet" media="screen, print" />
+ <script type="text/javascript">
+ /* This dirty little trick prevents Webkit-based browsers to do initial animation upon page load. */
+ document.addEventListener("DOMContentLoaded", () => document.body.className = "");
+ </script>
</head>
<body>