This commit is contained in:
Nicolas Stepien 2012-09-07 20:55:27 +02:00
parent b7ecec5104
commit 8063fe76db
2 changed files with 4 additions and 4 deletions

View File

@ -3767,7 +3767,7 @@
if (file.isSpoiler) {
fileSize = "Spoiler Image, " + fileSize;
if (!isArchived) {
fileThumb = '//thumbs.4chan.org/image/spoiler';
fileThumb = '//static.4chan.org/image/spoiler';
fileThumb += (function() {
switch (board) {
case 'a':
@ -3804,7 +3804,7 @@
innerHTML: file.name
});
filename = a.textContent.replace(/%22/g, '"');
a.textContent = Build.shortname(filename);
a.textContent = Build.shortFilename(filename);
shortFilename = a.innerHTML;
a.textContent = filename;
filename = a.innerHTML;

View File

@ -3018,7 +3018,7 @@ Build =
if file.isSpoiler
fileSize = "Spoiler Image, #{fileSize}"
unless isArchived
fileThumb = '//thumbs.4chan.org/image/spoiler'
fileThumb = '//static.4chan.org/image/spoiler'
fileThumb += switch board
# UGGH, I can't wait to maintain this crap.
# Sup desuwa?
@ -3045,7 +3045,7 @@ Build =
filename = a.textContent.replace /%22/g, '"'
# shorten filename, get html
a.textContent = Build.shortname filename
a.textContent = Build.shortFilename filename
shortFilename = a.innerHTML
# get html