diff interfaces/ABX.js @ 2825:64a5603831e2

#209 minNumberPlays
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Tue, 09 May 2017 15:39:40 +0100
parents ee3059744a6e
children ba5fa3d30123 9bbf97cd736d
line wrap: on
line diff
--- a/interfaces/ABX.js	Tue May 09 14:52:00 2017 +0100
+++ b/interfaces/ABX.js	Tue May 09 15:39:40 2017 +0100
@@ -424,6 +424,10 @@
     var checks = testState.currentStateMap.interfaces[0].options,
         canContinue = true;
 
+    if (interfaceContext.checkFragmentMinPlays() === false) {
+        return;
+    }
+
     for (var i = 0; i < checks.length; i++) {
         var checkState = true;
         if (checks[i].type == 'check') {