From d7ba8b127b1663439ef853ba9edb26773fd71a81 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sat, 28 Feb 2015 21:38:25 +0100 Subject: [PATCH] Fixed sharing information in photo infobox --- dist/main.js | Bin 170766 -> 170750 bytes src/scripts/view.js | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/main.js b/dist/main.js index 2cbb05da48900173eeddce336c4c4b1d39be9bc3..f88c2f6cff67bd59ceb3cd278f5367fe918d694e 100644 GIT binary patch delta 39 tcmeC%#`SM2S3?Wq7N#GQrt9@E@lW5;%_K2hZ8B2?h%2^z?qsGyb^uDR4;ugg delta 77 zcmeyjm8)+XS3?Wq7N#GQB+D|3Gm|oNGD|9zH1#q{a&t740!ou|GLxrsO=ilK!X{mm PS(aFmy1ipEQyDt|q?R2r diff --git a/src/scripts/view.js b/src/scripts/view.js index bae1e52..55f23fa 100644 --- a/src/scripts/view.js +++ b/src/scripts/view.js @@ -390,13 +390,13 @@ view.photo = { $('#button_share') .addClass('active') .attr('title', 'Share Photo'); - if (photo.json.init) $('#infobox .attr_visibility').html('Public'); + if (photo.json.init) $('#infobox .attr_public').html('Yes'); } else { // Photo private $('#button_share') .removeClass('active') .attr('title', 'Make Public'); - if (photo.json.init) $('#infobox .attr_visibility').html('Private'); + if (photo.json.init) $('#infobox .attr_public').html('No'); } },