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

View File

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