diff options
author | Struan Donald <struan@exo.org.uk> | 2013-03-07 09:49:18 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-03-07 10:25:31 +0000 |
commit | 99b5e509020ddccba1bb064b9f77005928aac0c1 (patch) | |
tree | 0ba4192fd6510b80ca0bb41aef978114e848ee2a /www/js/mobile.js | |
parent | 0f827849e94a16fea19a03e4e1aca30ef42bca37 (diff) |
jslint objects to closing ) of if conditional being on a new line
Diffstat (limited to 'www/js/mobile.js')
-rw-r--r-- | www/js/mobile.js | 3 |
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); } |