mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
Update thesis_scrollspy.js
This commit is contained in:
parent
56ae82e262
commit
57fdd8eb62
@ -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');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user