Fix some things broken by removing the Quick Reply option.

close #289, close #291
.__.
This commit is contained in:
Zixaphir 2013-05-10 02:46:33 -07:00
parent 9ce09d216e
commit 2a3e0770ce
6 changed files with 30 additions and 38 deletions

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

View File

@ -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()

View File

@ -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

View File

@ -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'