summaryrefslogtreecommitdiff
path: root/app/views/game/finish_activity.js.erb
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-06-03 20:50:58 -0400
committerDavid Gay <david@davidgay.org>2021-06-03 20:51:17 -0400
commit7f129f24e351cafafdb4bc58a44ca0d714e30af6 (patch)
treee74f989bbeb8c1ea84a43262f97719d80d4010e6 /app/views/game/finish_activity.js.erb
parentdb41c035bfdd0e97662b80d02fbae4a99ed547c2 (diff)
Move timer and results to new game containers which are always visible
Diffstat (limited to 'app/views/game/finish_activity.js.erb')
-rw-r--r--app/views/game/finish_activity.js.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/game/finish_activity.js.erb b/app/views/game/finish_activity.js.erb
index 79659b6..d5772f4 100644
--- a/app/views/game/finish_activity.js.erb
+++ b/app/views/game/finish_activity.js.erb
@@ -1,7 +1,7 @@
var resultOutputDiv = document.getElementById("result_output");
var resultControlsDiv = document.getElementById("result_controls");
-var outputHTML = "<%= j render(partial: "look/results", locals: { results: @results }) %>"
+var outputHTML = "<%= j render(partial: "application/results", locals: { results: @results }) %>"
if (resultOutputDiv) {
resultOutputDiv.innerHTML += outputHTML;
@@ -11,5 +11,5 @@ if (resultOutputDiv) {
}
if (resultControlsDiv) {
- resultControlsDiv.innerHTML = "<%= j render(partial: "look/timer") %>"
+ resultControlsDiv.innerHTML = "<%= j render(partial: "application/timer") %>"
}