Browse Source

Fixed link check when sharing a photo

Tobias Reich 9 years ago
parent
commit
36dd48ec27
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/scripts/photo.js

+ 1 - 1
src/scripts/photo.js

@@ -621,7 +621,7 @@ photo.share = function(photoID, service) {
 			break
 	}
 
-	if (link.length!=='') location.href = link
+	if (link!=='') location.href = link
 
 }