Skip to content

Commit

Permalink
smile exception
Browse files Browse the repository at this point in the history
  • Loading branch information
dmk14013 committed Apr 25, 2018
1 parent 97014b7 commit ae1b374
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions js/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@
// Dispatch the event
window.dispatchEvent(event);
}
else{
alert('C\'mon, smile silly!');
}

}

Expand Down Expand Up @@ -181,12 +184,11 @@
}, false);

startbutton.addEventListener('click', function(ev){
takepicture();
ev.preventDefault();
takepicture();
ev.preventDefault();
}, false);

clearphoto();
alert('C\'mon, smile silly!');
}

// Fill the photo with an indication that none has been
Expand Down

0 comments on commit ae1b374

Please sign in to comment.