Remove last usage of info.email.

This commit is contained in:
ccd0 2016-04-28 11:39:09 -07:00
parent f39b0c03e5
commit a796c1247a
2 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,7 @@ Anonymize =
if tripcode
$.rm tripcode
delete @nodes.tripcode
if @info.email
if email
$.replace email, name
delete @nodes.email

View File

@ -25,7 +25,6 @@ class Post
nameBlock: if Conf['Anonymize'] then 'Anonymous' else @nodes.nameBlock.textContent.trim()
subject: @nodes.subject?.textContent or undefined
name: @nodes.name?.textContent
email: if @nodes.email then decodeURIComponent @nodes.email.href[7..]
tripcode: @nodes.tripcode?.textContent
uniqueID: @nodes.uniqueID?.firstElementChild.textContent
capcode: @nodes.capcode?.textContent.replace '## ', ''