remove "Remember Subject"
This commit is contained in:
parent
10f4811216
commit
97fd782a12
@ -305,10 +305,6 @@ Config =
|
|||||||
true
|
true
|
||||||
'Open new threads or replies to a thread from the index in a new tab.'
|
'Open new threads or replies to a thread from the index in a new tab.'
|
||||||
]
|
]
|
||||||
'Remember Subject': [
|
|
||||||
false
|
|
||||||
'Remember the subject field, instead of resetting after posting.'
|
|
||||||
]
|
|
||||||
<% if (type === 'userscript') { %>
|
<% if (type === 'userscript') { %>
|
||||||
'Remember QR Size': [
|
'Remember QR Size': [
|
||||||
false
|
false
|
||||||
|
|||||||
@ -68,6 +68,5 @@ QR.persona =
|
|||||||
persona =
|
persona =
|
||||||
name: post.name
|
name: post.name
|
||||||
email: if /^sage$/.test post.email then persona.email else post.email
|
email: if /^sage$/.test post.email then persona.email else post.email
|
||||||
sub: if Conf['Remember Subject'] then post.sub else undefined
|
|
||||||
flag: post.flag
|
flag: post.flag
|
||||||
$.set 'QR.persona', persona
|
$.set 'QR.persona', persona
|
||||||
|
|||||||
@ -58,8 +58,6 @@ QR.post = class
|
|||||||
|
|
||||||
@sub = if 'sub' of QR.persona.always
|
@sub = if 'sub' of QR.persona.always
|
||||||
QR.persona.always.sub
|
QR.persona.always.sub
|
||||||
else if Conf['Remember Subject']
|
|
||||||
if prev then prev.sub else persona.sub
|
|
||||||
else
|
else
|
||||||
''
|
''
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user