diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ea982f51..b90084416 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +seaweedchan +- Fix boards with previously deleted archives not switching to new archives + ### 1.1.8 - 2013-05-01 seaweedchan: - Fix QR not clearing on submit with Posting Success Notifications disabled diff --git a/builds/4chan-X.js b/builds/4chan-X.js index e3ff2fb52..cb9baf60b 100644 --- a/builds/4chan-X.js +++ b/builds/4chan-X.js @@ -7542,7 +7542,7 @@ Redirect = { init: function() { - return $.sync('archs', this.updateArchives); + return $.sync('archivers', this.updateArchives); }, updateArchives: function() { return $.get('archivers', {}, function(_arg) { @@ -9791,7 +9791,7 @@ }; init({ 'Polyfill': Polyfill, - 'Redirection': Redirect, + 'Redirect': Redirect, 'Header': Header, 'Catalog Links': CatalogLinks, 'Settings': Settings, diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 8e851ff66..9fdd90821 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -7563,7 +7563,7 @@ Redirect = { init: function() { - return $.sync('archs', this.updateArchives); + return $.sync('archivers', this.updateArchives); }, updateArchives: function() { return $.get('archivers', {}, function(_arg) { @@ -9814,7 +9814,7 @@ }; init({ 'Polyfill': Polyfill, - 'Redirection': Redirect, + 'Redirect': Redirect, 'Header': Header, 'Catalog Links': CatalogLinks, 'Settings': Settings, diff --git a/builds/crx/script.js b/builds/crx/script.js index 2d8842495..db5a7cec0 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -7546,7 +7546,7 @@ Redirect = { init: function() { - return $.sync('archs', this.updateArchives); + return $.sync('archivers', this.updateArchives); }, updateArchives: function() { return $.get('archivers', {}, function(_arg) { @@ -9795,7 +9795,7 @@ }; init({ 'Polyfill': Polyfill, - 'Redirection': Redirect, + 'Redirect': Redirect, 'Header': Header, 'Catalog Links': CatalogLinks, 'Settings': Settings, diff --git a/src/Archive/Redirect.coffee b/src/Archive/Redirect.coffee index 71402d193..7cbdf5de0 100644 --- a/src/Archive/Redirect.coffee +++ b/src/Archive/Redirect.coffee @@ -1,6 +1,6 @@ Redirect = init: -> - $.sync 'archs', @updateArchives + $.sync 'archivers', @updateArchives updateArchives: -> $.get 'archivers', {}, ({archivers}) -> diff --git a/src/General/Main.coffee b/src/General/Main.coffee index 43a397506..d3c8cf2d9 100644 --- a/src/General/Main.coffee +++ b/src/General/Main.coffee @@ -65,7 +65,7 @@ Main = init 'Polyfill': Polyfill - 'Redirection': Redirect + 'Redirect': Redirect 'Header': Header 'Catalog Links': CatalogLinks 'Settings': Settings