Fix file accidentally renaming, from Mayhem
This commit is contained in:
parent
bc0f30612c
commit
0cc8d1aef4
2
LICENSE
2
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
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user