Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/examples/Math_Money_Identification/js/lesson.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Math_Money_Identification/js/lesson.js')
-rwxr-xr-xexamples/Math_Money_Identification/js/lesson.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/Math_Money_Identification/js/lesson.js b/examples/Math_Money_Identification/js/lesson.js
index dc97fa1..9012805 100755
--- a/examples/Math_Money_Identification/js/lesson.js
+++ b/examples/Math_Money_Identification/js/lesson.js
@@ -38,11 +38,13 @@ $(document).ready(function(){
function checkDisplay(){ //Displays the correct and incorrect info
if(wrong_selected == 1){
$('.checkedOption').show();
+ k.audio.incorrect.play();
document.getElementById("check").src = "assets/image/incorrect.png";
$('.checkedOption').fadeOut(1000);
}
else{
$('.checkedOption').hide();
+ k.audio.correct.play();
document.getElementById("check").src = "assets/image/correct.png";
$('.checkedOption').fadeOut(2000);
//needs timer for holding on for abt a sec