changeset 2827:cf1a3a529177

#209 minor typos
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Tue, 09 May 2017 15:42:59 +0100
parents 28a5504db337
children 7e864b79f169 2f8c91fa32e8 151ae5a4b979 97a52e326464
files js/core.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/js/core.js	Tue May 09 15:40:37 2017 +0100
+++ b/js/core.js	Tue May 09 15:42:59 2017 +0100
@@ -3342,7 +3342,7 @@
             return true;
         });
         if (failedObjects.length === 0) {
-            return false;
+            return true;
         }
         var failedString = [];
         failedObjects.forEach(function (a) {
@@ -3351,7 +3351,7 @@
         var str = "You have not played fragments " + failedString.join(", ") + " enough. Please keep listening";
         interfaceContext.lightbox.post("Message", str);
         this.storeErrorNode(str);
-        return true;
+        return false;
     };