Fix some things broken by removing the Quick Reply option.
close #289, close #291 .__.
This commit is contained in:
parent
9ce09d216e
commit
2a3e0770ce
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -41,12 +41,10 @@ class Post
|
||||
if date = $ '.dateTime', info
|
||||
@nodes.date = date
|
||||
@info.date = new Date date.dataset.utc * 1000
|
||||
if Conf['Quick Reply']
|
||||
@info.yours = QR.db.get
|
||||
boardID: @board
|
||||
threadID: @thread
|
||||
postID: @ID
|
||||
|
||||
@info.yours = QR.db.get
|
||||
boardID: @board
|
||||
threadID: @thread
|
||||
postID: @ID
|
||||
|
||||
@parseComment()
|
||||
@parseQuotes()
|
||||
|
||||
@ -143,7 +143,7 @@ Keybinds =
|
||||
key
|
||||
|
||||
qr: (thread, quote) ->
|
||||
return unless Conf['Quick Reply'] and QR.postingIsEnabled
|
||||
return unless QR.postingIsEnabled
|
||||
do QR.open
|
||||
if quote
|
||||
QR.quote.call $ 'input', $('.post.highlight', thread) or thread
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
QuoteYou =
|
||||
init: ->
|
||||
return if g.VIEW is 'catalog' or !Conf['Mark Quotes of You'] or !Conf['Quick Reply']
|
||||
return if g.VIEW is 'catalog' or !Conf['Mark Quotes of You']
|
||||
|
||||
if Conf['Highlight Own Posts']
|
||||
$.addClass doc, 'highlight-own'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user