work-around take-two

This commit is contained in:
Greg Gauthier 2024-06-28 19:48:06 +01:00
parent ba6269dde0
commit ab61ceadfe

View File

@ -18,6 +18,7 @@
<div id="toolPanel"></div>
<script>
document.addEventListener('DOMContentLoaded', function () {
document.getElementById("dieroller").addEventListener("click", function () {
loadContent("rolldice.html?t=" + new Date().getTime());
});
@ -29,6 +30,7 @@
document.getElementById("encounter").addEventListener("click", function () {
loadContent("encounter.html?t=" + new Date().getTime());
});
});
function loadContent(pageUrl) {
var iframe = document.createElement('iframe');