Save name when it's changed, not just when it's posted with.
This commit is contained in:
parent
2824f3cde4
commit
b285602918
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user