aboutsummaryrefslogtreecommitdiff
path: root/js/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/functions.js')
-rw-r--r--js/functions.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/functions.js b/js/functions.js
index 6a460ad..6b0dcf4 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -1,3 +1,5 @@
+var cdn = "https://secure.iamfabulous.de";
+
$('#btn-send').click(function () {
var btn = $(this);
btn.button('loading');
@@ -9,13 +11,13 @@ $('.modal').draggable({
handle: ".modal-header"
});
function loadFancy(){
- document.getElementById("loader").style.backgroundImage="url('/img/loading.gif')";
+ document.getElementById("loader").style.backgroundImage="url('" +cdn + "/img/loading.gif')";
document.getElementById("loader").style.visibility="visible";
document.getElementById("loader-bg").style.visibility="visible";
var eyecancer = document.createElement("script");
eyecancer.type = "text/javascript";
- eyecancer.src = "/js/eyecancer.min.js";
+ eyecancer.src = cdn + "/js/eyecancer.min.js";
document.getElementsByTagName("head")[0].appendChild(eyecancer);
return false;
}