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