Not sure how that happened.
This commit is contained in:
parent
5d6b357135
commit
2fa6e063ef
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user