Fix slight code problems in svg-test

This commit is contained in:
kkapsner 2022-02-13 14:54:48 +01:00
parent 3d603b84d4
commit 3621fef625
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
</ol>
<h2>Tests</h2>
<iframe id="svg" src="domRectSVG.svg"></iframe>
<div id="test" id="svg">
<div id="test">
<h3 class="title">SVG</h3>
Hash: <span class="hash"></span><br>
<span class="content-hidable content-hidden">Data: <span class="toggle"><span class="anti-content">&plus;</span><span class="content">&minus;</span></span><span class="data content"></span></span><br>

View File

@ -99,7 +99,7 @@
);
});
test.querySelector(".refresh").addEventListener("click", function(){
output.querySelector(".refresh").addEventListener("click", function(){
performTests();
});
performTests();