From a3dfc2497cdd5c335bfcfa0c5c1308e951695aba Mon Sep 17 00:00:00 2001 From: YourFriendlyNeighborhoodDealer Date: Sun, 10 Mar 2019 15:21:41 +0100 Subject: [PATCH] Fixed qa table width stuff --- merger.js | 1 + views/qa.ejs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/merger.js b/merger.js index 7b34cab..3315b25 100644 --- a/merger.js +++ b/merger.js @@ -379,6 +379,7 @@ function RemoveDuplFromSubject(subj) { subj.Questions = []; for (var i = 0; i < cp.length; i++) { var j = 0; + // Only removes 100% match! while (j < subj.length && cp[i].Compare(subj.Questions[j]) != 100) { j++; } diff --git a/views/qa.ejs b/views/qa.ejs index 337c1a8..e528e07 100644 --- a/views/qa.ejs +++ b/views/qa.ejs @@ -1,14 +1,14 @@

Q & A:

<% for (var i = 0; i < qa.length; i++) { %>
- +
-

<%= i %>

+ <%= qa[i].q %>