Merge branch 'bstable'
This commit is contained in:
commit
181ba93080
@ -36,6 +36,11 @@
|
|||||||
|
|
||||||
## v1.13.0
|
## v1.13.0
|
||||||
|
|
||||||
|
**v1.13.0.25** *(2016-11-13)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.25/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.25/builds/4chan-X-noupdate.crx)]
|
||||||
|
- Fix bug from v1.13.0.0 causing errors on index refresh in certain cases when creating threads with cookies disabled. #1184
|
||||||
|
- Better link text in file error message: 'delete' -> 'delete post'. #1186
|
||||||
|
- Fix bug causing auto-pruning if you refreshed the index too soon after creating a thread.
|
||||||
|
|
||||||
**v1.13.0.24** *(2016-11-09)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.24/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.24/builds/4chan-X-noupdate.crx)]
|
**v1.13.0.24** *(2016-11-09)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.24/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.24/builds/4chan-X-noupdate.crx)]
|
||||||
- Fix bug from v1.13.0.0 causing lack of scroll bar when `Fit width` is disabled and images overflow screen.
|
- Fix bug from v1.13.0.0 causing lack of scroll bar when `Fit width` is disabled and images overflow screen.
|
||||||
|
|
||||||
|
|||||||
@ -145,6 +145,8 @@ ThreadWatcher =
|
|||||||
boardID = g.BOARD.ID
|
boardID = g.BOARD.ID
|
||||||
nKilled = 0
|
nKilled = 0
|
||||||
for threadID, data of db.data.boards[boardID] when not data?.isDead and "#{boardID}.#{threadID}" not in e.detail.threads
|
for threadID, data of db.data.boards[boardID] when not data?.isDead and "#{boardID}.#{threadID}" not in e.detail.threads
|
||||||
|
# Don't prune threads that have yet to appear in index.
|
||||||
|
continue unless e.detail.threads.some (fullID) -> +fullID.split('.')[1] > threadID
|
||||||
nKilled++
|
nKilled++
|
||||||
if Conf['Auto Prune'] or not (data and typeof data is 'object') # corrupt data
|
if Conf['Auto Prune'] or not (data and typeof data is 'object') # corrupt data
|
||||||
db.delete {boardID, threadID}
|
db.delete {boardID, threadID}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user