aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/views/photo.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/views/photo.js')
-rw-r--r--www/js/views/photo.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/www/js/views/photo.js b/www/js/views/photo.js
index c682070..5d451af 100644
--- a/www/js/views/photo.js
+++ b/www/js/views/photo.js
@@ -37,8 +37,7 @@
addPhotoFail: function() {
if ( message != 'no image selected' &&
message != 'Selection cancelled.' &&
- message != 'Camera cancelled.'
- ) {
+ message != 'Camera cancelled.' ) {
this.displayError(FMS.strings.photo_failed);
}
},