Skip to content

Commit

Permalink
remove invalid link in img.ly
Browse files Browse the repository at this point in the history
  • Loading branch information
take-cheeze committed Nov 24, 2012
1 parent 8a1bfe1 commit f6f4c24
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions photo.js
Expand Up @@ -64,9 +64,7 @@ var photo_filter = {

'://img.ly/\\w+$': function(url) {
var id = url.match(/:\/\/img.ly\/(\w+)$/)[1];
return $('<div />').append(
$('<a />').attr('href', 'http://img.ly/images/' + id + '/full').append(
image_tag('http://img.ly/show/full/' + id))).html();
return image_tag('http://img.ly/show/full/' + id);
},

'://ow.ly/i/\\w+': function(url) {
Expand Down

0 comments on commit f6f4c24

Please sign in to comment.