lowercase page title of sub pages

This commit is contained in:
Keivan Beigi 2014-09-01 21:54:41 -07:00
parent ae97af6bb6
commit 2be35dfc37
1 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,8 @@ define(
},
setTitle: function (title) {
if (title.toLocaleLowerCase() === 'nzbdrone') {
title = title.toLocaleLowerCase();
if (title === 'nzbdrone') {
document.title = 'nzbdrone';
}
else {