aboutsummaryrefslogtreecommitdiff
path: root/js/functions.js
diff options
context:
space:
mode:
authormoehm2014-11-01 19:18:02 +0100
committermoehm2014-11-01 19:18:02 +0100
commitaddb394599c30489ba7c6f3aede1a9c4b1770330 (patch)
tree8823ae76328544e3742bd84df23b1ec41529bdf2 /js/functions.js
parent5ee0ffcdce5a931eda3c8a21336b0b396aac1624 (diff)
downloadjungegemeinde-addb394599c30489ba7c6f3aede1a9c4b1770330.tar.gz
Replacing 'loading.gif' when starting fancy mode.spinner
Diffstat (limited to 'js/functions.js')
-rw-r--r--js/functions.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/functions.js b/js/functions.js
index 6b0dcf4..d19ba11 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -11,9 +11,15 @@ $('.modal').draggable({
handle: ".modal-header"
});
function loadFancy(){
+/*
document.getElementById("loader").style.backgroundImage="url('" +cdn + "/img/loading.gif')";
document.getElementById("loader").style.visibility="visible";
document.getElementById("loader-bg").style.visibility="visible";
+*/
+
+ $(".spinner").style.visibility="visible";
+ document.getElementById("loader").style.visibility="visible";
+ document.getElementById("loader-bg").style.visibility="visible";
var eyecancer = document.createElement("script");
eyecancer.type = "text/javascript";