Merge branch 'bstable'
Conflicts: LICENSE builds/4chan-X-beta.crx builds/4chan-X-beta.meta.js builds/4chan-X-beta.user.js builds/4chan-X-noupdate.crx builds/4chan-X-noupdate.user.js builds/4chan-X.crx builds/4chan-X.meta.js builds/4chan-X.user.js builds/4chan-X.zip builds/updates-beta.xml builds/updates.xml package.json
This commit is contained in:
commit
a18dc076b2
@ -37,6 +37,9 @@ The links to individual versions below are to copies of the script with the upda
|
||||
|
||||
## v1.10.0
|
||||
|
||||
**v1.10.0.6** *(2015-02-17)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.0.6/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.0.6/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||
- Fix bugs when `Fixed Header` is off but `Bottom Header` is on.
|
||||
|
||||
**v1.10.0.5** *(2015-02-14)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.0.5/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.0.5/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||
- Fix thread cooldowns on /b/ and /pol/; apparently the 5-minute global cooldown after starting a thread only applies to boards other than the one you posted on.
|
||||
|
||||
|
||||
@ -428,7 +428,7 @@ Header =
|
||||
scrollTo: (root, down, needed) ->
|
||||
if down
|
||||
x = Header.getBottomOf root
|
||||
if Conf['Header auto-hide on scroll'] and Conf['Bottom header']
|
||||
if Conf['Fixed Header'] and Conf['Header auto-hide on scroll'] and Conf['Bottom header']
|
||||
{height} = Header.bar.getBoundingClientRect()
|
||||
if x <= 0
|
||||
x += height if !Header.isHidden()
|
||||
@ -437,7 +437,7 @@ Header =
|
||||
window.scrollBy 0, -x unless needed and x >= 0
|
||||
else
|
||||
x = Header.getTopOf root
|
||||
if Conf['Header auto-hide on scroll'] and !Conf['Bottom header']
|
||||
if Conf['Fixed Header'] and Conf['Header auto-hide on scroll'] and !Conf['Bottom header']
|
||||
{height} = Header.bar.getBoundingClientRect()
|
||||
if x >= 0
|
||||
x += height if !Header.isHidden()
|
||||
@ -458,7 +458,7 @@ Header =
|
||||
getBottomOf: (root) ->
|
||||
{clientHeight} = doc
|
||||
bottom = clientHeight - root.getBoundingClientRect().bottom
|
||||
if Conf['Bottom Header']
|
||||
if Conf['Fixed Header'] and Conf['Bottom Header']
|
||||
headRect = Header.toggle.getBoundingClientRect()
|
||||
bottom -= clientHeight - headRect.bottom + headRect.height
|
||||
bottom
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user