fix sauce
This commit is contained in:
parent
9da579f216
commit
949ce02984
@ -2116,8 +2116,9 @@
|
||||
return prefix.match(/(\w+)\./)[1];
|
||||
});
|
||||
return g.callbacks.push(function(root) {
|
||||
var i, link, prefix, suffix, thumb, _len, _ref, _results;
|
||||
var i, link, prefix, span, suffix, thumb, _len, _ref, _results;
|
||||
if (root.className === 'inline' || !(thumb = $('img[md5]', root))) return;
|
||||
span = $('.filesize', root);
|
||||
suffix = thumb.src;
|
||||
_ref = sauce.prefixes;
|
||||
_results = [];
|
||||
|
||||
@ -1651,6 +1651,7 @@ sauce =
|
||||
sauce.names = sauce.prefixes.map (prefix) -> prefix.match(/(\w+)\./)[1]
|
||||
g.callbacks.push (root) ->
|
||||
return if root.className is 'inline' or not thumb = $ 'img[md5]', root
|
||||
span = $ '.filesize', root
|
||||
suffix = thumb.src
|
||||
for prefix, i in sauce.prefixes
|
||||
link = $.el 'a',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user