Update thesis_scrollspy.js

This commit is contained in:
Tom Hodson 2022-11-28 11:02:15 +01:00
parent 56ae82e262
commit 57fdd8eb62

View File

@ -79,7 +79,6 @@ window.addEventListener('DOMContentLoaded', () => {
if(schematic !== null) { if(schematic !== null) {
d3.xml(schematic.getAttribute('src')) d3.xml(schematic.getAttribute('src'))
.then(data => { .then(data => {
console.log("got data");
const svg = data.documentElement; const svg = data.documentElement;
svg.setAttribute('width', '100%'); svg.setAttribute('width', '100%');
svg.setAttribute('height', 'auto'); svg.setAttribute('height', 'auto');