aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/mobile.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/mobile.js')
-rw-r--r--www/js/mobile.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/www/js/mobile.js b/www/js/mobile.js
index e399dc4..40c4f82 100644
--- a/www/js/mobile.js
+++ b/www/js/mobile.js
@@ -452,8 +452,7 @@ function delPhoto() {
function takePhotoFail(message) {
if ( message != 'no image selected' &&
message != 'Selection cancelled.' &&
- message != 'Camera cancelled.'
- ) {
+ message != 'Camera cancelled.') {
navigator.notification.alert('There was a problem taking your photo', null, 'Photo');
console.log('error taking picture: ' + message);
}