diff --git a/src/viewer.js b/src/viewer.js index 500b0ef..13c7e08 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -4524,11 +4524,11 @@ class VolumeImageViewer { context.fillRect(0, height / colors.length * j, width, 1) } - const upperBound = document.createElement('span'); - upperBound.innerHTML = '255'; + const upperBound = document.createElement('span') + upperBound.innerHTML = '255' - const lowerBound = document.createElement('span'); - lowerBound.innerHTML = '0'; + const lowerBound = document.createElement('span') + lowerBound.innerHTML = '0' overlayElement.appendChild(upperBound) overlayElement.appendChild(canvas)