Commit 27b83099 authored by Jakob Moser's avatar Jakob Moser
Browse files

Dynamically set window title as well

parent 05821795
Loading
Loading
Loading
Loading
+1 −0
Changes for static/js/yalikejazz.mjs: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -110,6 +110,7 @@ function initActionLinks() {
export function main() {
    document.querySelector("#testName").textContent = pooltest.name
    document.querySelector("#exerciseCnt").textContent = pooltest.exercises.length
    document.title = `${pooltest.name} · ${document.title}`
    if (currentState.firstStart) {
        // Show welcome message
        document.body.classList.add("overlay-shown")
+1 −1
Changes for static/pooltest.html: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Pooltest · YALIKEJAZZ · Institut für Computerlinguistik</title>
    <title>YALIKEJAZZ · Institut für Computerlinguistik</title>
    <link rel="icon" href="./img/bee.png" />
    <link rel="stylesheet" href="./css/yalikejazz.css" />
    <link rel="stylesheet" href="./lib/jslinux/css/style.css" />