Full photo should always show the big photo #67

pull/263/head
Tobias Reich 10 years ago
parent 32bd3ffefb
commit b86108d2be

@ -601,7 +601,13 @@ photo = {
getDirectLink: function() {
return $("#imageview #image").css("background-image").replace(/"/g,"").replace(/url\(|\)$/ig, "");
var url = "";
if (photo.json&&
photo.json.url&&
photo.json.url!=="") url = photo.json.url;
return url;
},

Loading…
Cancel
Save