diff --git a/public/index.html b/public/index.html index 80d788d..c142c3b 100644 --- a/public/index.html +++ b/public/index.html @@ -35,6 +35,7 @@ + Read Only :
@@ -160,6 +161,10 @@

Homer: The Odyssey

r.setMode(annotationMode); }); + + + document.getElementById("read-only").addEventListener('change', (event)=> r.readOnly=event.currentTarget.checked); + })();