diff --git a/builds/4chan-X.js b/builds/4chan-X.js index 3e06d506a..b2d5e58dd 100644 --- a/builds/4chan-X.js +++ b/builds/4chan-X.js @@ -8970,7 +8970,7 @@ getThread: function(full) { var headRect, i, rect, thread, threads, topMargin, _i, _len; - if (Conf['Bottom header']) { + if (Conf['Bottom header'] || !Conf['Fixed Header']) { topMargin = 0; } else { headRect = Header.bar.getBoundingClientRect(); diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index bf071c52f..ed2bf1936 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -8979,7 +8979,7 @@ getThread: function(full) { var headRect, i, rect, thread, threads, topMargin, _i, _len; - if (Conf['Bottom header']) { + if (Conf['Bottom header'] || !Conf['Fixed Header']) { topMargin = 0; } else { headRect = Header.bar.getBoundingClientRect(); diff --git a/builds/crx/script.js b/builds/crx/script.js index 60f55004e..3b7c1e17d 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -8962,7 +8962,7 @@ getThread: function(full) { var headRect, i, rect, thread, threads, topMargin, _i, _len; - if (Conf['Bottom header']) { + if (Conf['Bottom header'] || !Conf['Fixed Header']) { topMargin = 0; } else { headRect = Header.bar.getBoundingClientRect(); diff --git a/src/Miscellaneous/Nav.coffee b/src/Miscellaneous/Nav.coffee index fa78f8784..ac1fdc10d 100644 --- a/src/Miscellaneous/Nav.coffee +++ b/src/Miscellaneous/Nav.coffee @@ -39,7 +39,7 @@ Nav = Nav.scroll +1 getThread: (full) -> - if Conf['Bottom header'] + if Conf['Bottom header'] or !Conf['Fixed Header'] topMargin = 0 else headRect = Header.bar.getBoundingClientRect()