Full photo should always show the big photo #67

This commit is contained in:
Tobias Reich 2014-10-19 14:21:10 +02:00
parent 32bd3ffefb
commit b86108d2be

View File

@ -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;
},