Merge zixaphirs typo fix

Close #237
This commit is contained in:
seaweedchan 2014-01-12 00:57:36 -07:00
parent a1e3793cb5
commit 9a5ddc35d2
4 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
/* /*
* 4chan X - Version 1.3.0 - 2014-01-11 * 4chan X - Version 1.3.0 - 2014-01-12
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE

View File

@ -22,7 +22,7 @@
// ==/UserScript== // ==/UserScript==
/* /*
* 4chan X - Version 1.3.0 - 2014-01-11 * 4chan X - Version 1.3.0 - 2014-01-12
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
@ -9827,7 +9827,7 @@
if (!((archive = archives[id]))) { if (!((archive = archives[id]))) {
continue; continue;
} }
boards = type === 'file' ? archive.file : archive.boards; boards = type === 'file' ? archive.files : archive.boards;
if (__indexOf.call(boards, boardID) < 0) { if (__indexOf.call(boards, boardID) < 0) {
continue; continue;
} }

View File

@ -1,6 +1,6 @@
// Generated by CoffeeScript // Generated by CoffeeScript
/* /*
* 4chan X - Version 1.3.0 - 2014-01-11 * 4chan X - Version 1.3.0 - 2014-01-12
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
@ -9816,7 +9816,7 @@
if (!((archive = archives[id]))) { if (!((archive = archives[id]))) {
continue; continue;
} }
boards = type === 'file' ? archive.file : archive.boards; boards = type === 'file' ? archive.files : archive.boards;
if (__indexOf.call(boards, boardID) < 0) { if (__indexOf.call(boards, boardID) < 0) {
continue; continue;
} }

View File

@ -10,7 +10,7 @@ Redirect =
for boardID, record of Conf['selectedArchives'] for boardID, record of Conf['selectedArchives']
for type, id of record when (archive = archives[id]) for type, id of record when (archive = archives[id])
boards = if type is 'file' then archive.file else archive.boards boards = if type is 'file' then archive.files else archive.boards
continue unless boardID in boards continue unless boardID in boards
o[type][boardID] = archive.data o[type][boardID] = archive.data