Save name when it's changed, not just when it's posted with.

This commit is contained in:
ccd0 2015-03-14 12:50:54 -07:00
parent 2824f3cde4
commit b285602918
2 changed files with 2 additions and 2 deletions

View File

@ -701,8 +701,6 @@ QR =
if Conf['Posting Success Notifications']
QR.notifications.push new Notice 'success', h1.textContent, 5
QR.persona.set post
[_, threadID, postID] = h1.nextSibling.textContent.match /thread:(\d+),no:(\d+)/
postID = +postID
threadID = +threadID or postID

View File

@ -141,6 +141,8 @@ QR.post = class
# so we suffix it with '.jpg' when needed.
@file.newName += '.jpg'
@updateFilename()
when 'name', 'email'
QR.persona.set @
forceSave: ->
return unless @ is QR.selected