diff --git a/CHANGELOG.md b/CHANGELOG.md index 10322d070..639aef70c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ ## v1.13.0 +**v1.13.0.9** *(2016-10-09)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.9/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.9/builds/4chan-X-noupdate.crx)] +- Fix bug from v1.13.0.0 that broke Quote Inlining / Previewing of OPs on /f/. + **v1.13.0.8** *(2016-10-08)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.8/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.8/builds/4chan-X-noupdate.crx)] - (AchtBit) Add keybind for toggling custom cooldown (default: `Alt+Comma`). - Add keybind to post file from URL (default: `Alt+l`). diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index b04d4f195..08a92bc91 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 edd0618e3..937f7a75e 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.0.8 +// @version 1.13.0.9 // @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 411aa3ad3..dee3f3aec 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.0.8 +// @version 1.13.0.9 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -136,7 +136,7 @@ docSet = function() { }; g = { - VERSION: '1.13.0.8', + VERSION: '1.13.0.9', NAMESPACE: '4chan X.', boards: {} }; @@ -6128,7 +6128,7 @@ Post = (function() { _Class.prototype.isClone = true; function _Class(origin, context, contractThumb) { - var base, fileRoot, i, inline, inlined, j, k, key, l, len, len1, len2, len3, node, nodes, ref, ref1, ref2, ref3, ref4, root, val; + var base, fileRoot, i, inline, inlined, j, k, key, l, len, len1, len2, len3, node, nodes, ref, ref1, ref2, ref3, ref4, ref5, root, val; this.origin = origin; this.context = context; ref = ['ID', 'fullID', 'board', 'thread', 'info', 'quotes', 'isReply']; @@ -6178,7 +6178,7 @@ Post = (function() { this.file.text = fileRoot.firstElementChild; this.file.link = $('.fileText > a, .fileText-original', fileRoot); this.file.thumb = $('a.fileThumb > [data-md5]', fileRoot); - this.file.thumbLink = this.file.thumb.parentNode; + this.file.thumbLink = (ref5 = this.file.thumb) != null ? ref5.parentNode : void 0; this.file.fullImage = $('.full-image', fileRoot); this.file.videoControls = $('.video-controls', this.file.text); if (this.file.videoThumb) { diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index 468ac3483..a39e425f3 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 0aebea983..f9415d42f 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.0.8 +// @version 1.13.0.9 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -136,7 +136,7 @@ docSet = function() { }; g = { - VERSION: '1.13.0.8', + VERSION: '1.13.0.9', NAMESPACE: '4chan X.', boards: {} }; @@ -6128,7 +6128,7 @@ Post = (function() { _Class.prototype.isClone = true; function _Class(origin, context, contractThumb) { - var base, fileRoot, i, inline, inlined, j, k, key, l, len, len1, len2, len3, node, nodes, ref, ref1, ref2, ref3, ref4, root, val; + var base, fileRoot, i, inline, inlined, j, k, key, l, len, len1, len2, len3, node, nodes, ref, ref1, ref2, ref3, ref4, ref5, root, val; this.origin = origin; this.context = context; ref = ['ID', 'fullID', 'board', 'thread', 'info', 'quotes', 'isReply']; @@ -6178,7 +6178,7 @@ Post = (function() { this.file.text = fileRoot.firstElementChild; this.file.link = $('.fileText > a, .fileText-original', fileRoot); this.file.thumb = $('a.fileThumb > [data-md5]', fileRoot); - this.file.thumbLink = this.file.thumb.parentNode; + this.file.thumbLink = (ref5 = this.file.thumb) != null ? ref5.parentNode : void 0; this.file.fullImage = $('.full-image', fileRoot); this.file.videoControls = $('.video-controls', this.file.text); if (this.file.videoThumb) { diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index 540cf3925..1aeef2bd6 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 536df84d9..84ce3806a 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.13.0.8 +// @version 1.13.0.9 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 5cccd7cc4..21ef907b8 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.13.0.8 +// @version 1.13.0.9 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -136,7 +136,7 @@ docSet = function() { }; g = { - VERSION: '1.13.0.8', + VERSION: '1.13.0.9', NAMESPACE: '4chan X.', boards: {} }; @@ -6128,7 +6128,7 @@ Post = (function() { _Class.prototype.isClone = true; function _Class(origin, context, contractThumb) { - var base, fileRoot, i, inline, inlined, j, k, key, l, len, len1, len2, len3, node, nodes, ref, ref1, ref2, ref3, ref4, root, val; + var base, fileRoot, i, inline, inlined, j, k, key, l, len, len1, len2, len3, node, nodes, ref, ref1, ref2, ref3, ref4, ref5, root, val; this.origin = origin; this.context = context; ref = ['ID', 'fullID', 'board', 'thread', 'info', 'quotes', 'isReply']; @@ -6178,7 +6178,7 @@ Post = (function() { this.file.text = fileRoot.firstElementChild; this.file.link = $('.fileText > a, .fileText-original', fileRoot); this.file.thumb = $('a.fileThumb > [data-md5]', fileRoot); - this.file.thumbLink = this.file.thumb.parentNode; + this.file.thumbLink = (ref5 = this.file.thumb) != null ? ref5.parentNode : void 0; this.file.fullImage = $('.full-image', fileRoot); this.file.videoControls = $('.video-controls', this.file.text); if (this.file.videoThumb) { diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index f5b5152ad..353e5f857 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 7482dc03b..cc18cb073 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 80ff8fb34..9e07d01d8 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/src/classes/Post.Clone.coffee b/src/classes/Post.Clone.coffee index b627ad81d..9eafe6422 100644 --- a/src/classes/Post.Clone.coffee +++ b/src/classes/Post.Clone.coffee @@ -48,7 +48,7 @@ Post.Clone = class extends Post @file.text = fileRoot.firstElementChild @file.link = $ '.fileText > a, .fileText-original', fileRoot @file.thumb = $ 'a.fileThumb > [data-md5]', fileRoot - @file.thumbLink = @file.thumb.parentNode + @file.thumbLink = @file.thumb?.parentNode @file.fullImage = $ '.full-image', fileRoot @file.videoControls = $ '.video-controls', @file.text diff --git a/version.json b/version.json index cde521001..c503c4162 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version": "1.13.0.8", - "date": "2016-10-08T19:18:35.432Z" + "version": "1.13.0.9", + "date": "2016-10-09T10:48:46.406Z" } \ No newline at end of file