Browse Source

refresh na 3 minuten niet naar /en/ maar naar /

master
manetta 5 years ago
parent
commit
3a5b6818cd
  1. 2
      templates/base.html

2
templates/base.html

@ -82,7 +82,7 @@
function refresh() { function refresh() {
if(new Date().getTime() - time >= 300000){ if(new Date().getTime() - time >= 300000){
console.log('refresh!'); console.log('refresh!');
window.location.href = '/en/'; window.location.href = '/';
} else { } else {
setTimeout(refresh, 300000); setTimeout(refresh, 300000);
} }

Loading…
Cancel
Save