work-around take-two
This commit is contained in:
parent
ba6269dde0
commit
ab61ceadfe
@ -18,6 +18,7 @@
|
|||||||
<div id="toolPanel"></div>
|
<div id="toolPanel"></div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
document.addEventListener('DOMContentLoaded', function () {
|
||||||
document.getElementById("dieroller").addEventListener("click", function () {
|
document.getElementById("dieroller").addEventListener("click", function () {
|
||||||
loadContent("rolldice.html?t=" + new Date().getTime());
|
loadContent("rolldice.html?t=" + new Date().getTime());
|
||||||
});
|
});
|
||||||
@ -29,6 +30,7 @@
|
|||||||
document.getElementById("encounter").addEventListener("click", function () {
|
document.getElementById("encounter").addEventListener("click", function () {
|
||||||
loadContent("encounter.html?t=" + new Date().getTime());
|
loadContent("encounter.html?t=" + new Date().getTime());
|
||||||
});
|
});
|
||||||
|
});
|
||||||
|
|
||||||
function loadContent(pageUrl) {
|
function loadContent(pageUrl) {
|
||||||
var iframe = document.createElement('iframe');
|
var iframe = document.createElement('iframe');
|
||||||
|
Loading…
Reference in New Issue
Block a user