From 69ba10a898d29dc8c03b160ed67dd918341c2c75 Mon Sep 17 00:00:00 2001 From: Ginger Wong Date: Tue, 9 Jun 2020 14:15:00 -0700 Subject: [PATCH] use app file from web-layout --- webroot/js/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webroot/js/app.js b/webroot/js/app.js index a0d9f2418..a984b6367 100644 --- a/webroot/js/app.js +++ b/webroot/js/app.js @@ -8,7 +8,7 @@ function setupApp() { }) window.app = new Vue({ - el: "#info", + el: "#app", data: { streamStatus: "", viewerCount: 0, @@ -23,7 +23,7 @@ function setupApp() { }) window.chatForm = new Vue({ - el: "#chat-form", + el: "#chatForm", data: { message: { author: "",//localStorage.author || "Viewer" + (Math.floor(Math.random() * 42) + 1), @@ -103,7 +103,7 @@ function setupWebsocket() { setupApp() getStatus() -// setupWebsocket() +setupWebsocket() // setInterval(getStatus, 5000) // HLS Video setup. Commented out for local html work. Uncomment to make HLS work.