Merge branch 'Stable' into Beta
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
e3c8f46d07
@ -25,6 +25,12 @@ The links to individual versions below are to copies of the script with the upda
|
||||
- Minor bugfixes.
|
||||
|
||||
<!-- v1.9.17.x -->
|
||||
### v1.9.17.11
|
||||
*2014-12-29* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.17.11/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.17.11/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||
|
||||
**ccd0**
|
||||
- Fix index refresh time bug introduced in v1.9.17.0.
|
||||
|
||||
### v1.9.17.10
|
||||
*2014-12-26* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.17.10/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.17.10/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||
|
||||
|
||||
@ -1,21 +1,18 @@
|
||||
RelativeDates =
|
||||
INTERVAL: $.MINUTE / 2
|
||||
init: ->
|
||||
return unless Conf['Relative Post Dates']
|
||||
unless Conf['Relative Date Title']
|
||||
switch g.VIEW
|
||||
when 'index'
|
||||
@flush()
|
||||
$.on d, 'visibilitychange', @flush
|
||||
when 'thread'
|
||||
@flush()
|
||||
$.on d, 'visibilitychange ThreadUpdate', @flush if g.VIEW is 'thread'
|
||||
else
|
||||
return
|
||||
if (
|
||||
g.VIEW isnt 'catalog' and Conf['Relative Post Dates'] and !Conf['Relative Date Title'] or
|
||||
g.VIEW is 'index' and Conf['JSON Navigation'] and g.BOARD.ID isnt 'f'
|
||||
)
|
||||
@flush()
|
||||
$.on d, 'visibilitychange ThreadUpdate', @flush
|
||||
|
||||
if Conf['Relative Post Dates']
|
||||
Post.callbacks.push
|
||||
name: 'Relative Post Dates'
|
||||
cb: @node
|
||||
|
||||
Post.callbacks.push
|
||||
name: 'Relative Post Dates'
|
||||
cb: @node
|
||||
node: ->
|
||||
dateEl = @nodes.date
|
||||
if Conf['Relative Date Title']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user