summaryrefslogtreecommitdiff
path: root/templates/fluid
diff options
context:
space:
mode:
Diffstat (limited to 'templates/fluid')
-rw-r--r--templates/fluid/template_album.html3
-rw-r--r--templates/fluid/template_index.html4
2 files changed, 7 insertions, 0 deletions
diff --git a/templates/fluid/template_album.html b/templates/fluid/template_album.html
index 2535a58..7c028b0 100644
--- a/templates/fluid/template_album.html
+++ b/templates/fluid/template_album.html
@@ -32,6 +32,9 @@
}
</style>
<link href="$(TEMPLATES_PATH)styles.css" type="text/css" rel="stylesheet" media="screen, print" />
+ <script type="text/javascript">
+ document.addEventListener("DOMContentLoaded", () => document.body.className = "");
+ </script>
</head>
<body>
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>