aboutsummaryrefslogtreecommitdiff
path: root/src/quiz-bunny/static
diff options
context:
space:
mode:
Diffstat (limited to 'src/quiz-bunny/static')
-rw-r--r--src/quiz-bunny/static/main.js3
-rw-r--r--src/quiz-bunny/static/styles.css1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/quiz-bunny/static/main.js b/src/quiz-bunny/static/main.js
index cb4740e..a7309bb 100644
--- a/src/quiz-bunny/static/main.js
+++ b/src/quiz-bunny/static/main.js
@@ -15,6 +15,9 @@ window.onload = function () {
interval: undefined
},
methods: {
+ nonReady: function (players) {
+ return players.filter(player => !player.ready)
+ },
startStatusLoop: function(){
// event loop that runs while waiting for host to start
var loadStatus = function (vue_object) {
diff --git a/src/quiz-bunny/static/styles.css b/src/quiz-bunny/static/styles.css
index 9734c87..e128102 100644
--- a/src/quiz-bunny/static/styles.css
+++ b/src/quiz-bunny/static/styles.css
@@ -17,6 +17,7 @@ input[type=button]{
cursor: pointer;
background-color: coral;
color: white;
+ white-space: normal;
}
input[type=button]:disabled {
color: #eeeeee;