blob: 839c33a06bc216096b38942285c70bb3af8eea88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Remove query params
window.history.pushState(
{
html: document.documentElement.innerHTML,
pageTitle: document.title
},
'',
document.location.pathname
);
var app = Elm.Main.fullscreen({
time: new Date().getTime(),
translations: JSON.parse(document.getElementById('translations').innerHTML),
conf: JSON.parse(document.getElementById('conf').innerHTML),
result: JSON.parse(document.getElementById('result').innerHTML)
});
|