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'
|
innerHTML: '<input type=checkbox name="Header auto-hide on scroll"> Auto-hide header on scroll'
|
||||||
});
|
});
|
||||||
barPositionToggler = $.el('label', {
|
barPositionToggler = $.el('label', {
|
||||||
innerHTML: '<input type=checkbox name="Bottom header"> Bottom header'
|
innerHTML: '<input type=checkbox name="Bottom Header"> Bottom header'
|
||||||
});
|
});
|
||||||
linkJustifyToggler = $.el('label', {
|
linkJustifyToggler = $.el('label', {
|
||||||
innerHTML: "<input type=checkbox " + (Conf['Centered links'] ? 'checked' : '') + "> Centered links"
|
innerHTML: "<input type=checkbox " + (Conf['Centered links'] ? 'checked' : '') + "> Centered links"
|
||||||
@ -1988,7 +1988,7 @@
|
|||||||
|
|
||||||
clientHeight = doc.clientHeight;
|
clientHeight = doc.clientHeight;
|
||||||
bottom = clientHeight - root.getBoundingClientRect().bottom;
|
bottom = clientHeight - root.getBoundingClientRect().bottom;
|
||||||
if (Conf['Bottom header']) {
|
if (Conf['Bottom Header']) {
|
||||||
headRect = Header.toggle.getBoundingClientRect();
|
headRect = Header.toggle.getBoundingClientRect();
|
||||||
bottom -= clientHeight - headRect.bottom + headRect.height;
|
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'
|
innerHTML: '<input type=checkbox name="Header auto-hide on scroll"> Auto-hide header on scroll'
|
||||||
});
|
});
|
||||||
barPositionToggler = $.el('label', {
|
barPositionToggler = $.el('label', {
|
||||||
innerHTML: '<input type=checkbox name="Bottom header"> Bottom header'
|
innerHTML: '<input type=checkbox name="Bottom Header"> Bottom header'
|
||||||
});
|
});
|
||||||
linkJustifyToggler = $.el('label', {
|
linkJustifyToggler = $.el('label', {
|
||||||
innerHTML: "<input type=checkbox " + (Conf['Centered links'] ? 'checked' : '') + "> Centered links"
|
innerHTML: "<input type=checkbox " + (Conf['Centered links'] ? 'checked' : '') + "> Centered links"
|
||||||
@ -2000,7 +2000,7 @@
|
|||||||
|
|
||||||
clientHeight = doc.clientHeight;
|
clientHeight = doc.clientHeight;
|
||||||
bottom = clientHeight - root.getBoundingClientRect().bottom;
|
bottom = clientHeight - root.getBoundingClientRect().bottom;
|
||||||
if (Conf['Bottom header']) {
|
if (Conf['Bottom Header']) {
|
||||||
headRect = Header.toggle.getBoundingClientRect();
|
headRect = Header.toggle.getBoundingClientRect();
|
||||||
bottom -= clientHeight - headRect.bottom + headRect.height;
|
bottom -= clientHeight - headRect.bottom + headRect.height;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,7 +13,7 @@ Header =
|
|||||||
scrollHeaderToggler = $.el 'label',
|
scrollHeaderToggler = $.el 'label',
|
||||||
innerHTML: '<input type=checkbox name="Header auto-hide on scroll"> Auto-hide header on scroll'
|
innerHTML: '<input type=checkbox name="Header auto-hide on scroll"> Auto-hide header on scroll'
|
||||||
barPositionToggler = $.el 'label',
|
barPositionToggler = $.el 'label',
|
||||||
innerHTML: '<input type=checkbox name="Bottom header"> Bottom header'
|
innerHTML: '<input type=checkbox name="Bottom Header"> Bottom header'
|
||||||
linkJustifyToggler = $.el 'label',
|
linkJustifyToggler = $.el 'label',
|
||||||
innerHTML: "<input type=checkbox #{if Conf['Centered links'] then 'checked' else ''}> Centered links"
|
innerHTML: "<input type=checkbox #{if Conf['Centered links'] then 'checked' else ''}> Centered links"
|
||||||
customNavToggler = $.el 'label',
|
customNavToggler = $.el 'label',
|
||||||
@ -375,7 +375,7 @@ Header =
|
|||||||
getBottomOf: (root) ->
|
getBottomOf: (root) ->
|
||||||
{clientHeight} = doc
|
{clientHeight} = doc
|
||||||
bottom = clientHeight - root.getBoundingClientRect().bottom
|
bottom = clientHeight - root.getBoundingClientRect().bottom
|
||||||
if Conf['Bottom header']
|
if Conf['Bottom Header']
|
||||||
headRect = Header.toggle.getBoundingClientRect()
|
headRect = Header.toggle.getBoundingClientRect()
|
||||||
bottom -= clientHeight - headRect.bottom + headRect.height
|
bottom -= clientHeight - headRect.bottom + headRect.height
|
||||||
bottom
|
bottom
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user