diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 0136fd5b7..1a9a82b48 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -10009,7 +10009,7 @@ o[type][boardID] = archive.data; } } - _ref3 = Redirect(archives); + _ref3 = Redirect.archives; for (_j = 0, _len1 = _ref3.length; _j < _len1; _j++) { _ref4 = _ref3[_j], data = _ref4.data, boards = _ref4.boards, files = _ref4.files; software = data.software; diff --git a/builds/crx/script.js b/builds/crx/script.js index f49fd9c9c..ec27b5be6 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -9998,7 +9998,7 @@ o[type][boardID] = archive.data; } } - _ref3 = Redirect(archives); + _ref3 = Redirect.archives; for (_j = 0, _len1 = _ref3.length; _j < _len1; _j++) { _ref4 = _ref3[_j], data = _ref4.data, boards = _ref4.boards, files = _ref4.files; software = data.software; diff --git a/src/Archive/Redirect.coffee b/src/Archive/Redirect.coffee index 0ae5a5e61..10a6ab163 100755 --- a/src/Archive/Redirect.coffee +++ b/src/Archive/Redirect.coffee @@ -16,7 +16,7 @@ Redirect = continue unless boardID in boards o[type][boardID] = archive.data - for {data, boards, files} in Redirect archives + for {data, boards, files} in Redirect.archives {software} = data for boardID in boards o.thread[boardID] = data unless boardID of o.thread