Oh god what am I doing I'm not very good with computers.

This commit is contained in:
Mayhem 2011-04-29 21:35:51 +02:00
parent e2fe3fe294
commit 4538903ca7
2 changed files with 7 additions and 2 deletions

View File

@ -1178,7 +1178,9 @@
}
node = node.nextElementSibling;
if (node.nodeName === 'SPAN' || node.nodeName === 'IMG') {
return threading.thread(node);
if (!(node.align || node.nodeName === 'CENTER')) {
return threading.thread(node);
}
}
}
};

View File

@ -914,8 +914,11 @@ threading =
node = div.nextSibling
node = node.nextElementSibling #skip text node
#span.fileseze, img[alt="File deleted."]
if node.nodeName is 'SPAN' or node.nodeName is 'IMG'
threading.thread node
#{N,}SFW
unless node.align or node.nodeName is 'CENTER'
threading.thread node
threadHiding =
init: ->