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){
|
||||
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>');
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
CACHE MANIFEST
|
||||
|
||||
# 2016-02-04:v1
|
||||
# 2016-02-06:v1
|
||||
|
||||
NETWORK:
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user