Skip to content

Commit

Permalink
downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
Reettaphant committed May 5, 2016
1 parent 5081fbe commit bb12175
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kahuna/public/js/services/image/downloads.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ imageDownloadsService.factory('imageDownloadsService', ['imgops', '$http', funct

if (filename) {
const basename = stripExtension(filename);
return `${basename} (${imageId}).jpg`;
return `${basename} (${imageId}).` + extension;
} else {
return `${imageId}.jpg`;
return `${imageId}.jpg` + extension;
}
}

Expand Down

0 comments on commit bb12175

Please sign in to comment.