diff --git a/script/annotations.js b/script/annotations.js index 3558045..cab4f46 100644 --- a/script/annotations.js +++ b/script/annotations.js @@ -1,7 +1,6 @@ const anno = OpenSeadragon.Annotorious(viewer); anno.readOnly = true; -anno.escape = false; anno.loadAnnotations('annotations/annotations.w3c.json'); -let annotationText = "" + diff --git a/script/live.js b/script/live.js index 24388e2..7524607 100644 --- a/script/live.js +++ b/script/live.js @@ -5,10 +5,12 @@ socket.addEventListener('message', (event) => { if(event.data.toString().length < 5) { const clientCount = parseInt(event.data); - let append = " people" + let append = " Sketchers" if (clientCount === 1) { - append = " person" + clientCountElement.textContent = "Just you!"; + } + else { + clientCountElement.textContent = clientCount.toString() + append; } - clientCountElement.textContent = clientCount.toString() + append; } -}); +}); \ No newline at end of file