diff --git a/CHANGELOG.md b/CHANGELOG.md index e0600b3bc..e9641fa83 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### v1.7.49 +*2014-05-28* + **ccd0** - Fix bug where hidden threads reappeared on index refresh. diff --git a/LICENSE b/LICENSE index db22fc816..0d0371046 100755 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ /* -* 4chan X - Version 1.7.48 - 2014-05-27 +* 4chan X - Version 1.7.49 - 2014-05-28 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js index 2dbec90a1..5d1005183 100755 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.7.48 +// @version 1.7.49 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 39dc9be82..b1cd40011 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,7 +1,7 @@ // Generated by CoffeeScript // ==UserScript== // @name 4chan X -// @version 1.7.48 +// @version 1.7.49 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -24,7 +24,7 @@ // ==/UserScript== /* -* 4chan X - Version 1.7.48 - 2014-05-27 +* 4chan X - Version 1.7.49 - 2014-05-28 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE @@ -372,7 +372,7 @@ doc = d.documentElement; g = { - VERSION: '1.7.48', + VERSION: '1.7.49', NAMESPACE: '4chan X.', boards: {} }; @@ -2957,19 +2957,21 @@ return nodes; }, buildStructure: function(nodes) { - var hr, i, node, result, _i, _len, _ref; + var hr, i, node, result, _i, _len, _ref, _results; result = $.frag(); i = 0; while (node = nodes[i++]) { $.add(result, [node, $.el('hr')]); } + $.event('IndexBuild', result.children); $.add(Index.root, result); _ref = $$('hr + hr', Index.root); + _results = []; for (_i = 0, _len = _ref.length; _i < _len; _i++) { hr = _ref[_i]; - $.rm(hr); + _results.push($.rm(hr)); } - return $.event('IndexBuild', result); + return _results; }, isSearching: false, clearSearch: function() { @@ -12885,7 +12887,7 @@ Settings.dialog = dialog = $.el('div', { id: 'fourchanx-settings', className: 'dialog', - innerHTML: '
' + innerHTML: '
' }); $.on($('.export', Settings.dialog), 'click', Settings["export"]); $.on($('.import', Settings.dialog), 'click', Settings["import"]); @@ -13730,7 +13732,7 @@ } if (previousversion) { el = $.el('span', { - innerHTML: '4chan X has been updated to version 1.7.48.' + innerHTML: '4chan X has been updated to version 1.7.49.' }); new Notice('info', el, 15); } else { diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index add43ba07..3e8f6244e 100644 Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ diff --git a/builds/crx.crx b/builds/crx.crx index b09ee3c2b..5d43c934b 100644 Binary files a/builds/crx.crx and b/builds/crx.crx differ diff --git a/builds/crx/manifest.json b/builds/crx/manifest.json index e4c7233a0..2ecde4baa 100755 --- a/builds/crx/manifest.json +++ b/builds/crx/manifest.json @@ -1,6 +1,6 @@ { "name": "4chan X", - "version": "1.7.48", + "version": "1.7.49", "manifest_version": 2, "description": "Cross-browser userscript for maximum lurking on 4chan.", "icons": { diff --git a/builds/crx/script.js b/builds/crx/script.js index 12c0c739f..fcbffe719 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -1,6 +1,6 @@ // Generated by CoffeeScript /* -* 4chan X - Version 1.7.48 - 2014-05-27 +* 4chan X - Version 1.7.49 - 2014-05-28 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE @@ -348,7 +348,7 @@ doc = d.documentElement; g = { - VERSION: '1.7.48', + VERSION: '1.7.49', NAMESPACE: '4chan X.', boards: {} }; @@ -2993,19 +2993,21 @@ return nodes; }, buildStructure: function(nodes) { - var hr, i, node, result, _i, _len, _ref; + var hr, i, node, result, _i, _len, _ref, _results; result = $.frag(); i = 0; while (node = nodes[i++]) { $.add(result, [node, $.el('hr')]); } + $.event('IndexBuild', result.children); $.add(Index.root, result); _ref = $$('hr + hr', Index.root); + _results = []; for (_i = 0, _len = _ref.length; _i < _len; _i++) { hr = _ref[_i]; - $.rm(hr); + _results.push($.rm(hr)); } - return $.event('IndexBuild', result); + return _results; }, isSearching: false, clearSearch: function() { @@ -12884,7 +12886,7 @@ Settings.dialog = dialog = $.el('div', { id: 'fourchanx-settings', className: 'dialog', - innerHTML: '
' + innerHTML: '
' }); $.on($('.export', Settings.dialog), 'click', Settings["export"]); $.on($('.import', Settings.dialog), 'click', Settings["import"]); @@ -13716,7 +13718,7 @@ } if (previousversion) { el = $.el('span', { - innerHTML: '4chan X has been updated to version 1.7.48.' + innerHTML: '4chan X has been updated to version 1.7.49.' }); new Notice('info', el, 15); } else { diff --git a/builds/updates.xml b/builds/updates.xml index a8e3b3891..06e633211 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/builds/wcrx/manifest.json b/builds/wcrx/manifest.json index c57fb70b7..b06da6ffb 100644 --- a/builds/wcrx/manifest.json +++ b/builds/wcrx/manifest.json @@ -1,6 +1,6 @@ { "name": "4chan X", - "version": "1.7.48", + "version": "1.7.49", "manifest_version": 2, "description": "Cross-browser userscript for maximum lurking on 4chan.", "icons": { diff --git a/builds/wcrx/script.js b/builds/wcrx/script.js index 12c0c739f..fcbffe719 100644 --- a/builds/wcrx/script.js +++ b/builds/wcrx/script.js @@ -1,6 +1,6 @@ // Generated by CoffeeScript /* -* 4chan X - Version 1.7.48 - 2014-05-27 +* 4chan X - Version 1.7.49 - 2014-05-28 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE @@ -348,7 +348,7 @@ doc = d.documentElement; g = { - VERSION: '1.7.48', + VERSION: '1.7.49', NAMESPACE: '4chan X.', boards: {} }; @@ -2993,19 +2993,21 @@ return nodes; }, buildStructure: function(nodes) { - var hr, i, node, result, _i, _len, _ref; + var hr, i, node, result, _i, _len, _ref, _results; result = $.frag(); i = 0; while (node = nodes[i++]) { $.add(result, [node, $.el('hr')]); } + $.event('IndexBuild', result.children); $.add(Index.root, result); _ref = $$('hr + hr', Index.root); + _results = []; for (_i = 0, _len = _ref.length; _i < _len; _i++) { hr = _ref[_i]; - $.rm(hr); + _results.push($.rm(hr)); } - return $.event('IndexBuild', result); + return _results; }, isSearching: false, clearSearch: function() { @@ -12884,7 +12886,7 @@ Settings.dialog = dialog = $.el('div', { id: 'fourchanx-settings', className: 'dialog', - innerHTML: '
' + innerHTML: '
' }); $.on($('.export', Settings.dialog), 'click', Settings["export"]); $.on($('.import', Settings.dialog), 'click', Settings["import"]); @@ -13716,7 +13718,7 @@ } if (previousversion) { el = $.el('span', { - innerHTML: '4chan X has been updated to version 1.7.48.' + innerHTML: '4chan X has been updated to version 1.7.49.' }); new Notice('info', el, 15); } else { diff --git a/package.json b/package.json index 137069aaf..18db78d73 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "4chan-X", - "version": "1.7.48", + "version": "1.7.49", "description": "Cross-browser userscript for maximum lurking on 4chan.", "meta": { "name": "4chan X",