summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/js/api.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/api.js b/www/js/api.js
index 0dd7951..609ea4d 100644
--- a/www/js/api.js
+++ b/www/js/api.js
@@ -264,7 +264,6 @@ window.html5ks.api = {
var lookup = document.getElementById(name),
el = lookup || document.createElement("img");
if (!location && !lookup) location = "center";
- html5ks.spin(1);
el.onload = function () {
if (location) {
// calculate position
@@ -326,6 +325,7 @@ window.html5ks.api = {
}
el.id = name;
el.src = "dump/" + src;
+ html5ks.spin(1);
// prevent FOUIPC (flash of incorrectly placed content)
if (!lookup) {
el.style.display = "none";