fix:Ensure that title headings always start with uppercase.

This commit is contained in:
jcass 2016-02-06 12:27:49 +02:00
parent eb994e64d2
commit 420a545121
2 changed files with 3 additions and 3 deletions

View File

@ -356,8 +356,8 @@ function switchContent(divid, uri) {
function setHeadline(site){
site = site.trim();
str = $('.mainNav').find('a[href$='+site+']').text();
if(str==""){
str=site;
if(str == ""){
str = site.charAt(0).toUpperCase() + site.slice(1);;
}
$('#contentHeadline').html('<a href="#home" onclick="switchContent(\'home\'); return false;">' + str + '</a>');
}

View File

@ -1,6 +1,6 @@
CACHE MANIFEST
# 2016-02-04:v1
# 2016-02-06:v1
NETWORK:
*