From de4c7a5035d0854fe15e051d6dfea7a8a5e259e6 Mon Sep 17 00:00:00 2001 From: Cat Smith <910384+catsmith@users.noreply.github.com> Date: Wed, 24 Apr 2024 19:16:25 +0100 Subject: [PATCH] console logs for bug finding --- static/CE_core/js/subreadings.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/CE_core/js/subreadings.js b/static/CE_core/js/subreadings.js index 7218cbd..f59dcf1 100644 --- a/static/CE_core/js/subreadings.js +++ b/static/CE_core/js/subreadings.js @@ -618,7 +618,9 @@ var SR = (function () { if (subreadings[type][i].witnesses.indexOf(witness) === -1) { subreadings[type][i].witnesses.push(witness); for (let j = 0; j < subreadings[type][i].text.length; j += 1) { + console.log(j) subreadings[type][i].text[j].reading.push(witness); + console.log(JSON.parse(JSON.stringify(target.text))) subreadings[type][i].text[j][witness] = target.text[j][witness]; if (Object.prototype.hasOwnProperty.call(options, 'standoff') && options.standoff === true) { subreadings[type][i].text[j][witness]['interface'] = target.text[j]['interface'];