diff --git a/templates/manuscript_musicscore.html b/templates/manuscript_musicscore.html index c8a2965..c17125e 100644 --- a/templates/manuscript_musicscore.html +++ b/templates/manuscript_musicscore.html @@ -53,7 +53,7 @@ homeFillsViewer: false, visibilityRatio: 1, }); - viewer.addHandler('open', function () { + viewer1.addHandler('open', function () { document.getElementById('loading-spinner').style.display = 'none'; document.getElementById('openseadragon_viewer').classList.remove('hidden'); }); @@ -66,7 +66,7 @@