d0d4096f8b
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: #929 Reviewed-by: konrad <k@knt.li> Co-authored-by: dpschen <dpschen@noreply.kolaente.de> Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
5 lines
139 B
JavaScript
5 lines
139 B
JavaScript
export function setTitle(title) {
|
|
document.title = (typeof title === 'undefined' || title === '')
|
|
? 'Vikunja'
|
|
: `${title} | Vikunja`
|
|
} |