aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-11-15 15:53:14 +0000
committerStruan Donald <struan@exo.org.uk>2012-11-15 16:52:42 +0000
commitd42640e427555bdf3776980ddcc03f427f7cb3a5 (patch)
tree2912322a5ec79538c59ffbeca29752dbac13163d /www/js
parentc0decb7cebf1132c8a7445304d64bda6607b8132 (diff)
fix photo display code on report page
Diffstat (limited to 'www/js')
-rw-r--r--www/js/mobile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/mobile.js b/www/js/mobile.js
index 9f27221..f717bd4 100644
--- a/www/js/mobile.js
+++ b/www/js/mobile.js
@@ -600,7 +600,7 @@ function display_saved_report() {
$('#title').text(r.title);
$('#details').text(r.detail);
if ( r.file() ) {
- $('#photo_link').attr('href', r.file());
+ $('#photo').attr('src', r.file());
$('#report-img').show();
} else {
$('#report-img').hide();