diff --git a/CHANGELOG.md b/CHANGELOG.md index 69c9bcc10..40d98cec9 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ The attributions below are for work that has been incorporated into the script a The links to individual versions below are to copies of the script with the update URL removed. If you want automatic updates, install the script from the links on the [main page](https://github.com/ccd0/4chan-x). +### v1.9.3.2 +*2014-09-16* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.3.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.3.2/builds/4chan-X-noupdate.crx "Chromium version")] + +**ccd0** +- Bug fixes. +- Tweaks to quote/image preview positioning. + ### v1.9.3.1 *2014-09-16* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.3.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.3.1/builds/4chan-X-noupdate.crx "Chromium version")] diff --git a/LICENSE b/LICENSE index 3b914845f..1ad4dc76e 100755 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ /* -* 4chan X - Version 1.9.3.1 +* 4chan X - Version 1.9.3.2 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index ccf2a425b..b12793911 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 2005fd328..d66770b39 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.9.3.1 +// @version 1.9.3.2 // @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 d59eb7cc2..488b58b5d 100644 --- a/builds/4chan-X-beta.user.js +++ b/builds/4chan-X-beta.user.js @@ -1,7 +1,7 @@ // Generated by CoffeeScript // ==UserScript== // @name 4chan X beta -// @version 1.9.3.1 +// @version 1.9.3.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -24,7 +24,7 @@ // ==/UserScript== /* -* 4chan X - Version 1.9.3.1 +* 4chan X - Version 1.9.3.2 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE @@ -183,9 +183,9 @@ 'Replace JPG': [false, 'Replace jpg thumbnails with the actual image.'], 'Replace PNG': [false, 'Replace png thumbnails with the actual image.'], 'Replace WEBM': [false, 'Replace webm thumbnails with the actual webm video. Probably will degrade browser performance ;)'], - 'Image Prefetching': [false, 'Preload images'], - 'Fappe Tyme': [false, 'Hide posts without images. *hint* *hint*'], - 'Werk Tyme': [false, 'Hide all post images.'], + 'Image Prefetching': [false, 'Add link in header menu to turn on image preloading.'], + 'Fappe Tyme': [false, 'Hide posts without images when header menu item is checked. *hint* *hint*'], + 'Werk Tyme': [false, 'Hide all post images when header menu item is checked.'], 'Autoplay': [true, 'Videos begin playing immediately when opened.'], 'Show Controls': [true, 'Show controls on videos expanded inline. Turn this off if you want to contract videos by clicking on them.'], 'Loop in New Tab': [true, 'Loop videos opened in their own tabs.'] @@ -330,17 +330,17 @@ 'Toggle sage': ['Alt+s', 'Toggle sage in options field.'], 'Submit QR': ['Ctrl+Enter', 'Submit post.'], 'Watch': ['w', 'Watch thread.'], - 'Update': ['r', 'Update the thread now.'], + 'Update': ['r', 'Update the thread / refresh the index.'], 'Expand image': ['Shift+e', 'Expand selected image.'], 'Expand images': ['e', 'Expand all images.'], 'Open Gallery': ['g', 'Opens the gallery.'], - 'fappeTyme': ['f', 'Fappe Tyme.'], - 'werkTyme': ['Shift+w', 'Werk Tyme'], + 'fappeTyme': ['f', 'Toggle Fappe Tyme.'], + 'werkTyme': ['Shift+w', 'Toggle Werk Tyme.'], 'Front page': ['1', 'Jump to front page.'], 'Open front page': ['Shift+1', 'Open front page in a new tab.'], 'Next page': ['Ctrl+Right', 'Jump to the next page.'], 'Previous page': ['Ctrl+Left', 'Jump to the previous page.'], - 'Open catalog': ['Shift+c', 'Open the catalog of the current board'], + 'Open catalog': ['Shift+c', 'Open the catalog of the current board.'], 'Search form': ['Ctrl+Alt+s', 'Focus the search field on the board index.'], 'Next thread': ['Ctrl+Down', 'See next thread.'], 'Previous thread': ['Ctrl+Up', 'See previous thread.'], @@ -376,7 +376,7 @@ doc = d.documentElement; g = { - VERSION: '1.9.3.1', + VERSION: '1.9.3.2', NAMESPACE: '4chan X.', NAME: '4chan X', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', @@ -4036,14 +4036,16 @@ return $.set("" + this.id + ".position", this.style.cssText); }; hoverstart = function(_arg) { - var asapTest, cb, el, endEvents, latestEvent, noRemove, o, root; + var asapTest, cb, el, endEvents, latestEvent, noRemove, o, root, _ref; root = _arg.root, el = _arg.el, latestEvent = _arg.latestEvent, endEvents = _arg.endEvents, asapTest = _arg.asapTest, cb = _arg.cb, noRemove = _arg.noRemove; o = { root: root, el: el, style: el.style, + isImage: (_ref = el.nodeName) === 'IMG' || _ref === 'VIDEO', cb: cb, endEvents: endEvents, + ready: false, latestEvent: latestEvent, clientHeight: doc.clientHeight, clientWidth: doc.clientWidth, @@ -4054,6 +4056,7 @@ $.asap(function() { return !el.parentNode || asapTest(); }, function() { + o.ready = true; if (el.parentNode) { return o.hover(o.latestEvent); } @@ -4071,13 +4074,19 @@ return $.on(doc, 'mousemove', o.workaround); }; hover = function(e) { - var clientX, clientY, height, left, right, style, top, _ref; + var clientX, clientY, height, left, right, style, threshold, top, _ref; this.latestEvent = e; + if (!this.ready) { + return; + } height = this.el.offsetHeight; clientX = e.clientX, clientY = e.clientY; - top = clientY - 120; - top = this.clientHeight <= height || top <= 0 ? 0 : top + height >= this.clientHeight ? this.clientHeight - height : top; - _ref = clientX <= this.clientWidth / 2 ? [clientX + 45 + 'px', null] : [null, this.clientWidth - clientX + 45 + 'px'], left = _ref[0], right = _ref[1]; + top = this.isImage ? Math.max(0, clientY * (this.clientHeight - height) / this.clientHeight) : Math.max(0, Math.min(this.clientHeight - height, clientY - 120)); + threshold = this.clientWidth / 2; + if (!this.isImage) { + threshold = Math.max(threshold, this.clientWidth - 400); + } + _ref = clientX <= threshold ? [clientX + 45 + 'px', null] : [null, this.clientWidth - clientX + 45 + 'px'], left = _ref[0], right = _ref[1]; style = this.style; style.top = top + 'px'; style.left = left; @@ -5745,7 +5754,7 @@ } else { QuoteYou.lastRead = post; window.location = "#" + post.id; - Header.scrollToPost(post); + Header.scrollTo(post); $.addClass($('.post', post), 'highlight'); return true; } @@ -7661,7 +7670,7 @@ } }, build: function(image) { - var candidate, cb, dialog, entry, file, key, menuButton, nodes, post, value, _i, _j, _len, _len1, _ref, _ref1, _ref2; + var candidate, cb, dialog, entry, file, key, menuButton, nodes, post, thumb, value, _i, _j, _len, _len1, _ref, _ref1, _ref2; Gallery.images = []; nodes = Gallery.nodes = {}; Gallery.fullIDs = {}; @@ -7725,7 +7734,13 @@ $.add(d.body, dialog); nodes.thumbs.scrollTop = 0; nodes.current.parentElement.scrollTop = 0; - Gallery.open(image ? $("[href='" + image.href + "']", nodes.thumbs) || Gallery.images[0] : Gallery.images[0]); + if (image) { + thumb = $("[href='" + image.href + "']", nodes.thumbs); + } + thumb || (thumb = Gallery.images[Gallery.images.length - 1]); + if (thumb) { + Gallery.open(thumb); + } doc.style.overflow = 'hidden'; return nodes.total.textContent = Gallery.images.length; }, @@ -12869,7 +12884,7 @@ className: 'dialog' }); $.extend(dialog, { - innerHTML: "
" + innerHTML: "
" }); $.on($('.export', Settings.dialog), 'click', Settings["export"]); $.on($('.import', Settings.dialog), 'click', Settings["import"]); diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index 2a0731849..ff2197bff 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 3001d574e..838866765 100644 --- a/builds/4chan-X-noupdate.user.js +++ b/builds/4chan-X-noupdate.user.js @@ -1,7 +1,7 @@ // Generated by CoffeeScript // ==UserScript== // @name 4chan X -// @version 1.9.3.1 +// @version 1.9.3.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -23,7 +23,7 @@ // ==/UserScript== /* -* 4chan X - Version 1.9.3.1 +* 4chan X - Version 1.9.3.2 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE @@ -182,9 +182,9 @@ 'Replace JPG': [false, 'Replace jpg thumbnails with the actual image.'], 'Replace PNG': [false, 'Replace png thumbnails with the actual image.'], 'Replace WEBM': [false, 'Replace webm thumbnails with the actual webm video. Probably will degrade browser performance ;)'], - 'Image Prefetching': [false, 'Preload images'], - 'Fappe Tyme': [false, 'Hide posts without images. *hint* *hint*'], - 'Werk Tyme': [false, 'Hide all post images.'], + 'Image Prefetching': [false, 'Add link in header menu to turn on image preloading.'], + 'Fappe Tyme': [false, 'Hide posts without images when header menu item is checked. *hint* *hint*'], + 'Werk Tyme': [false, 'Hide all post images when header menu item is checked.'], 'Autoplay': [true, 'Videos begin playing immediately when opened.'], 'Show Controls': [true, 'Show controls on videos expanded inline. Turn this off if you want to contract videos by clicking on them.'], 'Loop in New Tab': [true, 'Loop videos opened in their own tabs.'] @@ -329,17 +329,17 @@ 'Toggle sage': ['Alt+s', 'Toggle sage in options field.'], 'Submit QR': ['Ctrl+Enter', 'Submit post.'], 'Watch': ['w', 'Watch thread.'], - 'Update': ['r', 'Update the thread now.'], + 'Update': ['r', 'Update the thread / refresh the index.'], 'Expand image': ['Shift+e', 'Expand selected image.'], 'Expand images': ['e', 'Expand all images.'], 'Open Gallery': ['g', 'Opens the gallery.'], - 'fappeTyme': ['f', 'Fappe Tyme.'], - 'werkTyme': ['Shift+w', 'Werk Tyme'], + 'fappeTyme': ['f', 'Toggle Fappe Tyme.'], + 'werkTyme': ['Shift+w', 'Toggle Werk Tyme.'], 'Front page': ['1', 'Jump to front page.'], 'Open front page': ['Shift+1', 'Open front page in a new tab.'], 'Next page': ['Ctrl+Right', 'Jump to the next page.'], 'Previous page': ['Ctrl+Left', 'Jump to the previous page.'], - 'Open catalog': ['Shift+c', 'Open the catalog of the current board'], + 'Open catalog': ['Shift+c', 'Open the catalog of the current board.'], 'Search form': ['Ctrl+Alt+s', 'Focus the search field on the board index.'], 'Next thread': ['Ctrl+Down', 'See next thread.'], 'Previous thread': ['Ctrl+Up', 'See previous thread.'], @@ -375,7 +375,7 @@ doc = d.documentElement; g = { - VERSION: '1.9.3.1', + VERSION: '1.9.3.2', NAMESPACE: '4chan X.', NAME: '4chan X', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', @@ -4035,14 +4035,16 @@ return $.set("" + this.id + ".position", this.style.cssText); }; hoverstart = function(_arg) { - var asapTest, cb, el, endEvents, latestEvent, noRemove, o, root; + var asapTest, cb, el, endEvents, latestEvent, noRemove, o, root, _ref; root = _arg.root, el = _arg.el, latestEvent = _arg.latestEvent, endEvents = _arg.endEvents, asapTest = _arg.asapTest, cb = _arg.cb, noRemove = _arg.noRemove; o = { root: root, el: el, style: el.style, + isImage: (_ref = el.nodeName) === 'IMG' || _ref === 'VIDEO', cb: cb, endEvents: endEvents, + ready: false, latestEvent: latestEvent, clientHeight: doc.clientHeight, clientWidth: doc.clientWidth, @@ -4053,6 +4055,7 @@ $.asap(function() { return !el.parentNode || asapTest(); }, function() { + o.ready = true; if (el.parentNode) { return o.hover(o.latestEvent); } @@ -4070,13 +4073,19 @@ return $.on(doc, 'mousemove', o.workaround); }; hover = function(e) { - var clientX, clientY, height, left, right, style, top, _ref; + var clientX, clientY, height, left, right, style, threshold, top, _ref; this.latestEvent = e; + if (!this.ready) { + return; + } height = this.el.offsetHeight; clientX = e.clientX, clientY = e.clientY; - top = clientY - 120; - top = this.clientHeight <= height || top <= 0 ? 0 : top + height >= this.clientHeight ? this.clientHeight - height : top; - _ref = clientX <= this.clientWidth / 2 ? [clientX + 45 + 'px', null] : [null, this.clientWidth - clientX + 45 + 'px'], left = _ref[0], right = _ref[1]; + top = this.isImage ? Math.max(0, clientY * (this.clientHeight - height) / this.clientHeight) : Math.max(0, Math.min(this.clientHeight - height, clientY - 120)); + threshold = this.clientWidth / 2; + if (!this.isImage) { + threshold = Math.max(threshold, this.clientWidth - 400); + } + _ref = clientX <= threshold ? [clientX + 45 + 'px', null] : [null, this.clientWidth - clientX + 45 + 'px'], left = _ref[0], right = _ref[1]; style = this.style; style.top = top + 'px'; style.left = left; @@ -5744,7 +5753,7 @@ } else { QuoteYou.lastRead = post; window.location = "#" + post.id; - Header.scrollToPost(post); + Header.scrollTo(post); $.addClass($('.post', post), 'highlight'); return true; } @@ -7660,7 +7669,7 @@ } }, build: function(image) { - var candidate, cb, dialog, entry, file, key, menuButton, nodes, post, value, _i, _j, _len, _len1, _ref, _ref1, _ref2; + var candidate, cb, dialog, entry, file, key, menuButton, nodes, post, thumb, value, _i, _j, _len, _len1, _ref, _ref1, _ref2; Gallery.images = []; nodes = Gallery.nodes = {}; Gallery.fullIDs = {}; @@ -7724,7 +7733,13 @@ $.add(d.body, dialog); nodes.thumbs.scrollTop = 0; nodes.current.parentElement.scrollTop = 0; - Gallery.open(image ? $("[href='" + image.href + "']", nodes.thumbs) || Gallery.images[0] : Gallery.images[0]); + if (image) { + thumb = $("[href='" + image.href + "']", nodes.thumbs); + } + thumb || (thumb = Gallery.images[Gallery.images.length - 1]); + if (thumb) { + Gallery.open(thumb); + } doc.style.overflow = 'hidden'; return nodes.total.textContent = Gallery.images.length; }, @@ -12868,7 +12883,7 @@ className: 'dialog' }); $.extend(dialog, { - innerHTML: "
" + innerHTML: "
" }); $.on($('.export', Settings.dialog), 'click', Settings["export"]); $.on($('.import', Settings.dialog), 'click', Settings["import"]); diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index 27b1fc668..c47b499d0 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 f048e307c..4e2c0dc39 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.9.3.1 +// @version 1.9.3.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 6fb174c63..aedaf6eca 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.9.3.1 +// @version 1.9.3.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -24,7 +24,7 @@ // ==/UserScript== /* -* 4chan X - Version 1.9.3.1 +* 4chan X - Version 1.9.3.2 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE @@ -183,9 +183,9 @@ 'Replace JPG': [false, 'Replace jpg thumbnails with the actual image.'], 'Replace PNG': [false, 'Replace png thumbnails with the actual image.'], 'Replace WEBM': [false, 'Replace webm thumbnails with the actual webm video. Probably will degrade browser performance ;)'], - 'Image Prefetching': [false, 'Preload images'], - 'Fappe Tyme': [false, 'Hide posts without images. *hint* *hint*'], - 'Werk Tyme': [false, 'Hide all post images.'], + 'Image Prefetching': [false, 'Add link in header menu to turn on image preloading.'], + 'Fappe Tyme': [false, 'Hide posts without images when header menu item is checked. *hint* *hint*'], + 'Werk Tyme': [false, 'Hide all post images when header menu item is checked.'], 'Autoplay': [true, 'Videos begin playing immediately when opened.'], 'Show Controls': [true, 'Show controls on videos expanded inline. Turn this off if you want to contract videos by clicking on them.'], 'Loop in New Tab': [true, 'Loop videos opened in their own tabs.'] @@ -330,17 +330,17 @@ 'Toggle sage': ['Alt+s', 'Toggle sage in options field.'], 'Submit QR': ['Ctrl+Enter', 'Submit post.'], 'Watch': ['w', 'Watch thread.'], - 'Update': ['r', 'Update the thread now.'], + 'Update': ['r', 'Update the thread / refresh the index.'], 'Expand image': ['Shift+e', 'Expand selected image.'], 'Expand images': ['e', 'Expand all images.'], 'Open Gallery': ['g', 'Opens the gallery.'], - 'fappeTyme': ['f', 'Fappe Tyme.'], - 'werkTyme': ['Shift+w', 'Werk Tyme'], + 'fappeTyme': ['f', 'Toggle Fappe Tyme.'], + 'werkTyme': ['Shift+w', 'Toggle Werk Tyme.'], 'Front page': ['1', 'Jump to front page.'], 'Open front page': ['Shift+1', 'Open front page in a new tab.'], 'Next page': ['Ctrl+Right', 'Jump to the next page.'], 'Previous page': ['Ctrl+Left', 'Jump to the previous page.'], - 'Open catalog': ['Shift+c', 'Open the catalog of the current board'], + 'Open catalog': ['Shift+c', 'Open the catalog of the current board.'], 'Search form': ['Ctrl+Alt+s', 'Focus the search field on the board index.'], 'Next thread': ['Ctrl+Down', 'See next thread.'], 'Previous thread': ['Ctrl+Up', 'See previous thread.'], @@ -376,7 +376,7 @@ doc = d.documentElement; g = { - VERSION: '1.9.3.1', + VERSION: '1.9.3.2', NAMESPACE: '4chan X.', NAME: '4chan X', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', @@ -4036,14 +4036,16 @@ return $.set("" + this.id + ".position", this.style.cssText); }; hoverstart = function(_arg) { - var asapTest, cb, el, endEvents, latestEvent, noRemove, o, root; + var asapTest, cb, el, endEvents, latestEvent, noRemove, o, root, _ref; root = _arg.root, el = _arg.el, latestEvent = _arg.latestEvent, endEvents = _arg.endEvents, asapTest = _arg.asapTest, cb = _arg.cb, noRemove = _arg.noRemove; o = { root: root, el: el, style: el.style, + isImage: (_ref = el.nodeName) === 'IMG' || _ref === 'VIDEO', cb: cb, endEvents: endEvents, + ready: false, latestEvent: latestEvent, clientHeight: doc.clientHeight, clientWidth: doc.clientWidth, @@ -4054,6 +4056,7 @@ $.asap(function() { return !el.parentNode || asapTest(); }, function() { + o.ready = true; if (el.parentNode) { return o.hover(o.latestEvent); } @@ -4071,13 +4074,19 @@ return $.on(doc, 'mousemove', o.workaround); }; hover = function(e) { - var clientX, clientY, height, left, right, style, top, _ref; + var clientX, clientY, height, left, right, style, threshold, top, _ref; this.latestEvent = e; + if (!this.ready) { + return; + } height = this.el.offsetHeight; clientX = e.clientX, clientY = e.clientY; - top = clientY - 120; - top = this.clientHeight <= height || top <= 0 ? 0 : top + height >= this.clientHeight ? this.clientHeight - height : top; - _ref = clientX <= this.clientWidth / 2 ? [clientX + 45 + 'px', null] : [null, this.clientWidth - clientX + 45 + 'px'], left = _ref[0], right = _ref[1]; + top = this.isImage ? Math.max(0, clientY * (this.clientHeight - height) / this.clientHeight) : Math.max(0, Math.min(this.clientHeight - height, clientY - 120)); + threshold = this.clientWidth / 2; + if (!this.isImage) { + threshold = Math.max(threshold, this.clientWidth - 400); + } + _ref = clientX <= threshold ? [clientX + 45 + 'px', null] : [null, this.clientWidth - clientX + 45 + 'px'], left = _ref[0], right = _ref[1]; style = this.style; style.top = top + 'px'; style.left = left; @@ -5745,7 +5754,7 @@ } else { QuoteYou.lastRead = post; window.location = "#" + post.id; - Header.scrollToPost(post); + Header.scrollTo(post); $.addClass($('.post', post), 'highlight'); return true; } @@ -7661,7 +7670,7 @@ } }, build: function(image) { - var candidate, cb, dialog, entry, file, key, menuButton, nodes, post, value, _i, _j, _len, _len1, _ref, _ref1, _ref2; + var candidate, cb, dialog, entry, file, key, menuButton, nodes, post, thumb, value, _i, _j, _len, _len1, _ref, _ref1, _ref2; Gallery.images = []; nodes = Gallery.nodes = {}; Gallery.fullIDs = {}; @@ -7725,7 +7734,13 @@ $.add(d.body, dialog); nodes.thumbs.scrollTop = 0; nodes.current.parentElement.scrollTop = 0; - Gallery.open(image ? $("[href='" + image.href + "']", nodes.thumbs) || Gallery.images[0] : Gallery.images[0]); + if (image) { + thumb = $("[href='" + image.href + "']", nodes.thumbs); + } + thumb || (thumb = Gallery.images[Gallery.images.length - 1]); + if (thumb) { + Gallery.open(thumb); + } doc.style.overflow = 'hidden'; return nodes.total.textContent = Gallery.images.length; }, @@ -12869,7 +12884,7 @@ className: 'dialog' }); $.extend(dialog, { - innerHTML: "
" + innerHTML: "
" }); $.on($('.export', Settings.dialog), 'click', Settings["export"]); $.on($('.import', Settings.dialog), 'click', Settings["import"]); diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index e65de3351..130869be4 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 0ecb9ef3d..84e521883 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 388d7d89f..cce354187 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/package.json b/package.json index d0acc4181..129b48956 100755 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "Cross-browser userscript for maximum lurking on 4chan.", "meta": { "name": "4chan X", - "version": "1.9.3.1", + "version": "1.9.3.2", "repo": "https://github.com/ccd0/4chan-x/", "page": "https://github.com/ccd0/4chan-x", "downloads": "https://ccd0.github.io/4chan-x/builds/",