misc: static appName/version display in client UI

This commit is contained in:
bordun 2021-01-08 14:24:54 +01:00
parent 6f60b5c6a2
commit 9dae9c5c9d
3 changed files with 5 additions and 7 deletions

View file

@ -3,10 +3,7 @@ document.addEventListener('DOMContentLoaded', function(event) {
require('./globals')
require('./stacktrace')
var locales = require('./locales'),
html = require('nanohtml')
DOM.get(document, '#osc-greeting-header')[0].appendChild(html`${PACKAGE.productName} <span class="version">v${PACKAGE.version}</span>`)
var locales = require('./locales')
DOM.init()