diff --git a/LICENSE b/LICENSE index d6ce97d24..c7d501086 100755 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ /* -* 4chan X - Version 1.2.36 - 2013-08-26 +* 4chan X - Version 1.2.36 - 2013-09-12 * * Licensed under the MIT license. * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 3f7468b7f..466af8d8f 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -22,7 +22,7 @@ // ==/UserScript== /* -* 4chan X - Version 1.2.36 - 2013-08-26 +* 4chan X - Version 1.2.36 - 2013-09-12 * * Licensed under the MIT license. * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE @@ -5797,7 +5797,9 @@ this.nodes.label.hidden = false; } URL.revokeObjectURL(this.URL); - this.showFileData(); + if (this === QR.selected) { + this.showFileData(); + } if (!/^image/.test(file.type)) { this.nodes.el.style.backgroundImage = null; return; diff --git a/builds/crx/script.js b/builds/crx/script.js index 97b6c40e3..d29c7270f 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -1,6 +1,6 @@ // Generated by CoffeeScript /* -* 4chan X - Version 1.2.36 - 2013-08-26 +* 4chan X - Version 1.2.36 - 2013-09-12 * * Licensed under the MIT license. * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE @@ -5801,7 +5801,9 @@ this.nodes.label.hidden = false; } URL.revokeObjectURL(this.URL); - this.showFileData(); + if (this === QR.selected) { + this.showFileData(); + } if (!/^image/.test(file.type)) { this.nodes.el.style.backgroundImage = null; return; diff --git a/src/Posting/QuickReply.coffee b/src/Posting/QuickReply.coffee index 75caae801..62654dfbe 100755 --- a/src/Posting/QuickReply.coffee +++ b/src/Posting/QuickReply.coffee @@ -665,7 +665,7 @@ QR = @filesize = $.bytesToString file.size @nodes.label.hidden = false if QR.spoiler URL.revokeObjectURL @URL - @showFileData() + @showFileData() if @ is QR.selected unless /^image/.test file.type @nodes.el.style.backgroundImage = null return