diff --git a/js/interactive.js b/js/interactive.js
index 092044c..edceef8 100644
--- a/js/interactive.js
+++ b/js/interactive.js
@@ -18,6 +18,14 @@
}
});
+ function separateIntoBubbles() {
+ // minimum screen size to break up
elemnents into separate
+ // speech bubbles, e.g. has to be larger than iphone 5 in portrait mode
+ // (iphone 5 has a display screen with height of 578px in portrait mode)
+ const minimumDocHeight = 578;
+ return (document.documentElement.clientHeight > minimumDocHeight);
+ }
+
function answerQ(lb,restart) {
currentQ = label;
label = lb;
@@ -114,8 +122,10 @@
}
document.getElementById('QandA').innerHTML += "