Remove url prefix

This commit is contained in:
Dan Bovey 2015-09-28 19:31:17 +01:00
parent dad5188e19
commit a1dfdf789c

View File

@ -3,7 +3,7 @@ $(function() {
{ {
$("#showcase_button").attr("disabled","true"); $("#showcase_button").attr("disabled","true");
var urlenc = encodeURIComponent(url); var urlenc = encodeURIComponent(url);
var imageURL = "http://http2pic.haschek.at/api.php?js=no&token=0e316498db6211f940951e"+(urlenc)+"8be8cdf7089770&type=$type&viewport=1200x330&url="+urlenc; var imageURL = "api.php?js=no&token=0e316498db6211f940951e"+(urlenc)+"8be8cdf7089770&type=$type&viewport=1200x330&url="+urlenc;
//$("#intro-header").css('background-image', 'url(\'/img/loading.gif\')'); //$("#intro-header").css('background-image', 'url(\'/img/loading.gif\')');
$("#loading").show(); $("#loading").show();