blob: a4e77f45690aad3cf3775457211d401710ff3d41 [file] [log] [blame]
/*
* Copyright (c) 2021 Nordic Semiconductor ASA
* SPDX-License-Identifier: Apache-2.0
*/
window.addEventListener('DOMContentLoaded', (event) => {
/* re-inject project version at a custom location */
let version = document.getElementById('projectnumber').innerText
let titleTable = document.querySelector('#titlearea table');
let cell = titleTable.insertRow(1).insertCell(0);
cell.innerHTML = '<div id="projectversion">' + version + '</div>';
});