Revert "Fix conflict with 4chan imgur thumbnail script. #363"

This reverts commit a20c4ad95ff55b8f71d9c1568fc96db1bd9db2ec.
This commit is contained in:
ccd0 2015-03-22 21:04:13 -07:00
parent abcc232f8f
commit b5dca335fe

View File

@ -166,7 +166,6 @@ class Post
return unless (fileEl = $ '.file', @nodes.post) and not $('.fileDeletedRes', fileEl)
fileText = fileEl.firstElementChild
link = $ 'a', fileText
return unless link.host is 'i.4cdn.org' # Don't parse file info from userscripts like 4chan imgur thumbnail.
info = link.nextSibling.textContent
@file =
text: fileText