work-around to force cache invalidation
This commit is contained in:
		
							parent
							
								
									81b651fe52
								
							
						
					
					
						commit
						ba6269dde0
					
				@ -19,15 +19,15 @@
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
    document.getElementById("dieroller").addEventListener("click", function() {
 | 
			
		||||
        loadContent("rolldice.html");
 | 
			
		||||
        loadContent("rolldice.html?t="+new Date().getTime());
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    document.getElementById("chargen").addEventListener("click", function() {
 | 
			
		||||
        loadContent("chargen.html");
 | 
			
		||||
        loadContent("chargen.html?t="+new Date().getTime());
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    document.getElementById("encounter").addEventListener("click", function() {
 | 
			
		||||
        loadContent("encounter.html");
 | 
			
		||||
        loadContent("encounter.html?t="+new Date().getTime());
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    function loadContent(pageUrl) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user