diff --git a/CHANGELOG.md b/CHANGELOG.md index c38042410..192e07237 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ ### v1.13.10 +**v1.13.10.7** *(2017-08-24)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.10.7/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.10.7/builds/4chan-X-noupdate.crx)] +- Fix quote preview bug when reply is in index data but no thread object exists. #1478 + **v1.13.10.6** *(2017-08-10)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.10.6/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.10.6/builds/4chan-X-noupdate.crx)] - Disable 'Redirect to HTTPS' on platforms where we use localStorage for saving settings. diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index 95852c139..da5232c4c 100644 Binary files a/builds/4chan-X-beta.crx and b/builds/4chan-X-beta.crx differ diff --git a/builds/4chan-X-beta.meta.js b/builds/4chan-X-beta.meta.js index 22a56491c..bd9a99a83 100644 --- a/builds/4chan-X-beta.meta.js +++ b/builds/4chan-X-beta.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X beta -// @version 1.13.10.6 +// @version 1.13.10.7 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X-beta.user.js b/builds/4chan-X-beta.user.js index ed681ff93..575d83ed0 100644 --- a/builds/4chan-X-beta.user.js +++ b/builds/4chan-X-beta.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X beta -// @version 1.13.10.6 +// @version 1.13.10.7 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -153,7 +153,7 @@ docSet = function() { }; g = { - VERSION: '1.13.10.6', + VERSION: '1.13.10.7', NAMESPACE: '4chan X.', boards: {} }; @@ -5738,9 +5738,8 @@ Fetcher = (function() { this.insert(post); return; } - if ((post = (ref = Index.replyData) != null ? ref[this.boardID + "." + this.postID] : void 0)) { + if ((post = (ref = Index.replyData) != null ? ref[this.boardID + "." + this.postID] : void 0) && (thread = g.threads[this.boardID + "." + this.threadID])) { board = g.boards[this.boardID]; - thread = g.threads[this.boardID + "." + this.threadID]; post = new Post(Build.postFromObject(post, this.boardID), thread, board); post.isFetchedQuote = true; Main.callbackNodes('Post', [post]); diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index 1a2400766..b177cdf4e 100644 Binary files a/builds/4chan-X-noupdate.crx and b/builds/4chan-X-noupdate.crx differ diff --git a/builds/4chan-X-noupdate.user.js b/builds/4chan-X-noupdate.user.js index ba2a996ea..a517af446 100644 --- a/builds/4chan-X-noupdate.user.js +++ b/builds/4chan-X-noupdate.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.13.10.6 +// @version 1.13.10.7 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -153,7 +153,7 @@ docSet = function() { }; g = { - VERSION: '1.13.10.6', + VERSION: '1.13.10.7', NAMESPACE: '4chan X.', boards: {} }; @@ -5738,9 +5738,8 @@ Fetcher = (function() { this.insert(post); return; } - if ((post = (ref = Index.replyData) != null ? ref[this.boardID + "." + this.postID] : void 0)) { + if ((post = (ref = Index.replyData) != null ? ref[this.boardID + "." + this.postID] : void 0) && (thread = g.threads[this.boardID + "." + this.threadID])) { board = g.boards[this.boardID]; - thread = g.threads[this.boardID + "." + this.threadID]; post = new Post(Build.postFromObject(post, this.boardID), thread, board); post.isFetchedQuote = true; Main.callbackNodes('Post', [post]); diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index 10e6def78..49377a2ec 100644 Binary files a/builds/4chan-X.crx and b/builds/4chan-X.crx differ diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js index 34cd8d9ea..49043c2ba 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.13.10.6 +// @version 1.13.10.7 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index dcac808bf..1b8abf625 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.13.10.6 +// @version 1.13.10.7 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -153,7 +153,7 @@ docSet = function() { }; g = { - VERSION: '1.13.10.6', + VERSION: '1.13.10.7', NAMESPACE: '4chan X.', boards: {} }; @@ -5738,9 +5738,8 @@ Fetcher = (function() { this.insert(post); return; } - if ((post = (ref = Index.replyData) != null ? ref[this.boardID + "." + this.postID] : void 0)) { + if ((post = (ref = Index.replyData) != null ? ref[this.boardID + "." + this.postID] : void 0) && (thread = g.threads[this.boardID + "." + this.threadID])) { board = g.boards[this.boardID]; - thread = g.threads[this.boardID + "." + this.threadID]; post = new Post(Build.postFromObject(post, this.boardID), thread, board); post.isFetchedQuote = true; Main.callbackNodes('Post', [post]); diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index 1bf20e3a6..15b9a5c9a 100644 Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml index beabaef32..803953675 100644 --- a/builds/updates-beta.xml +++ b/builds/updates-beta.xml @@ -1,7 +1,7 @@ - + diff --git a/builds/updates.xml b/builds/updates.xml index 21500c612..d4587446c 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/version.json b/version.json index cc569030e..add289d0d 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version": "1.13.10.6", - "date": "2017-08-10T13:38:49.065Z" + "version": "1.13.10.7", + "date": "2017-08-24T23:34:21.046Z" } \ No newline at end of file