aboutsummaryrefslogtreecommitdiff
path: root/src/client/js/main.js
blob: 296600ec3cb077677cb1bfab5f439e90d632d3e9 (plain)
1
2
3
4
5
6
7
8
9
10
// Remove query params
window.history.pushState({html: document.documentElement.innerHTML, pageTitle: document.title}, '', location.pathname);

Elm.fullscreen(Elm.Main, {
  initialTime: new Date().getTime(),
  translations: document.getElementById('messages').innerHTML,
  conf: document.getElementById('conf').innerHTML,
  initResult: document.getElementById('initResult').innerHTML,
  location: location.pathname
});