fix:Ensure that title headings always start with uppercase.
This commit is contained in:
parent
eb994e64d2
commit
420a545121
@ -356,8 +356,8 @@ function switchContent(divid, uri) {
|
|||||||
function setHeadline(site){
|
function setHeadline(site){
|
||||||
site = site.trim();
|
site = site.trim();
|
||||||
str = $('.mainNav').find('a[href$='+site+']').text();
|
str = $('.mainNav').find('a[href$='+site+']').text();
|
||||||
if(str==""){
|
if(str == ""){
|
||||||
str=site;
|
str = site.charAt(0).toUpperCase() + site.slice(1);;
|
||||||
}
|
}
|
||||||
$('#contentHeadline').html('<a href="#home" onclick="switchContent(\'home\'); return false;">' + str + '</a>');
|
$('#contentHeadline').html('<a href="#home" onclick="switchContent(\'home\'); return false;">' + str + '</a>');
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
CACHE MANIFEST
|
CACHE MANIFEST
|
||||||
|
|
||||||
# 2016-02-04:v1
|
# 2016-02-06:v1
|
||||||
|
|
||||||
NETWORK:
|
NETWORK:
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user