From 2fa6e063ef9cae010a1865c84da643701625478f Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Wed, 18 Dec 2013 16:11:45 -0700 Subject: [PATCH] Not sure how that happened. --- builds/4chan-X.user.js | 4 ++-- builds/crx/script.js | 4 ++-- src/General/Header.coffee | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 0b56d84a7..07329ced2 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1578,7 +1578,7 @@ innerHTML: ' Auto-hide header on scroll' }); barPositionToggler = $.el('label', { - innerHTML: ' Bottom header' + innerHTML: ' Bottom header' }); linkJustifyToggler = $.el('label', { innerHTML: " 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; } diff --git a/builds/crx/script.js b/builds/crx/script.js index f7f42b274..5afce40fe 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -1590,7 +1590,7 @@ innerHTML: ' Auto-hide header on scroll' }); barPositionToggler = $.el('label', { - innerHTML: ' Bottom header' + innerHTML: ' Bottom header' }); linkJustifyToggler = $.el('label', { innerHTML: " 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; } diff --git a/src/General/Header.coffee b/src/General/Header.coffee index 1b056efa5..bba089aa5 100755 --- a/src/General/Header.coffee +++ b/src/General/Header.coffee @@ -13,7 +13,7 @@ Header = scrollHeaderToggler = $.el 'label', innerHTML: ' Auto-hide header on scroll' barPositionToggler = $.el 'label', - innerHTML: ' Bottom header' + innerHTML: ' Bottom header' linkJustifyToggler = $.el 'label', innerHTML: " 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