Skip to content

Commit d8374ed

Browse files
committed
intent experiments
1 parent 56459e6 commit d8374ed

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cd/intent.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
if(window.location.hash) {
2525
document.getElementById("dynamic").style.display="block";
2626
document.getElementById("dynamic.h2").textContent=window.location.hash.substr(1);
27-
} else {
27+
document.getElementById("dynamic.h2").parentNode.id=window.location.hash.substr(1);
28+
} else {
2829
document.getElementById("dynamic").style.display="none";
2930
}
3031
}
@@ -183,7 +184,7 @@ <h1>OpenMath Content Dictionary: intent</h1>
183184
</p>
184185

185186
<div id="dynamic">
186-
<h2 id="dynamic.h2"> </h2>
187+
<h2 id="_"><span id="dynamic.h2"></span></h2>
187188
<dl>
188189
<dt>
189190
<span class="dt">Description:</span>

0 commit comments

Comments
 (0)