changeset 2559:c40cda1c2839

#175: Fixed alwaysInclude being ignored
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Thu, 19 Jan 2017 16:59:59 +0000
parents 03a9a90717ed
children 0c724e7c8c26 d75db08e5801
files js/core.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/js/core.js	Thu Jan 19 10:37:30 2017 +0000
+++ b/js/core.js	Thu Jan 19 16:59:59 2017 +0000
@@ -1192,7 +1192,7 @@
                 var elemInclude = [];
                 var elemPool = [];
                 for (var elem of pageInclude[i].audioElements) {
-                    if (elem.include || elem.type != "normal") {
+                    if (elem.alwaysInclude || elem.type != "normal") {
                         elemInclude.push(elem);
                     } else {
                         elemPool.push(elem);