Not sure how that happened.

This commit is contained in:
Zixaphir 2013-12-18 16:11:45 -07:00
parent 5d6b357135
commit 2fa6e063ef
3 changed files with 6 additions and 6 deletions

View File

@ -1578,7 +1578,7 @@
innerHTML: '<input type=checkbox name="Header auto-hide on scroll"> Auto-hide header on scroll'
});
barPositionToggler = $.el('label', {
innerHTML: '<input type=checkbox name="Bottom header"> Bottom header'
innerHTML: '<input type=checkbox name="Bottom Header"> Bottom header'
});
linkJustifyToggler = $.el('label', {
innerHTML: "<input type=checkbox " + (Conf['Centered links'] ? 'checked' : '') + "> Centered links"
@ -1988,7 +1988,7 @@
clientHeight = doc.clientHeight;
bottom = clientHeight - root.getBoundingClientRect().bottom;
if (Conf['Bottom header']) {
if (Conf['Bottom Header']) {
headRect = Header.toggle.getBoundingClientRect();
bottom -= clientHeight - headRect.bottom + headRect.height;
}

View File

@ -1590,7 +1590,7 @@
innerHTML: '<input type=checkbox name="Header auto-hide on scroll"> Auto-hide header on scroll'
});
barPositionToggler = $.el('label', {
innerHTML: '<input type=checkbox name="Bottom header"> Bottom header'
innerHTML: '<input type=checkbox name="Bottom Header"> Bottom header'
});
linkJustifyToggler = $.el('label', {
innerHTML: "<input type=checkbox " + (Conf['Centered links'] ? 'checked' : '') + "> Centered links"
@ -2000,7 +2000,7 @@
clientHeight = doc.clientHeight;
bottom = clientHeight - root.getBoundingClientRect().bottom;
if (Conf['Bottom header']) {
if (Conf['Bottom Header']) {
headRect = Header.toggle.getBoundingClientRect();
bottom -= clientHeight - headRect.bottom + headRect.height;
}

View File

@ -13,7 +13,7 @@ Header =
scrollHeaderToggler = $.el 'label',
innerHTML: '<input type=checkbox name="Header auto-hide on scroll"> Auto-hide header on scroll'
barPositionToggler = $.el 'label',
innerHTML: '<input type=checkbox name="Bottom header"> Bottom header'
innerHTML: '<input type=checkbox name="Bottom Header"> Bottom header'
linkJustifyToggler = $.el 'label',
innerHTML: "<input type=checkbox #{if Conf['Centered links'] then 'checked' else ''}> Centered links"
customNavToggler = $.el 'label',
@ -375,7 +375,7 @@ Header =
getBottomOf: (root) ->
{clientHeight} = doc
bottom = clientHeight - root.getBoundingClientRect().bottom
if Conf['Bottom header']
if Conf['Bottom Header']
headRect = Header.toggle.getBoundingClientRect()
bottom -= clientHeight - headRect.bottom + headRect.height
bottom