Skip to content
Snippets Groups Projects
Commit e97210c1 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

tmp: Shorten header for testing purposes

parent 2866521c
No related branches found
No related tags found
No related merge requests found
...@@ -100,7 +100,8 @@ ...@@ -100,7 +100,8 @@
return ""; return "";
}, },
setHeaderTitle: function (headerTitle) { setHeaderTitle: function (headerTitle) {
document.getElementById("appHeader").innerHTML = "TEST " + headerTitle; const title = "TEST " + headerTitle;
document.getElementById("appHeader").innerHTML = title.length > 15 ? title.substring(0, 15) + "..." : title;
}, },
getSystemLocale: function() { getSystemLocale: function() {
return "nb"; return "nb";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment