Tiny fixes.

This commit is contained in:
Mayhem 2013-12-19 04:13:32 +01:00
parent 4e0e881172
commit 7fda9f1fb6
3 changed files with 6 additions and 7 deletions

View File

@ -63,10 +63,7 @@ Build =
isOP = postID is threadID
staticPath = '//s.4cdn.org/image/'
gifIcon = if window.devicePixelRatio >= 2
'@2x.gif'
else
'.gif'
gifIcon = if window.devicePixelRatio >= 2 then '@2x.gif' else '.gif'
if email
emailStart = '<a href="mailto:' + email + '" class="useremail">'
@ -226,7 +223,7 @@ Build =
"<span class='postNum'>" +
"<a href=#{"/#{boardID}/res/#{threadID}#p#{postID}"} title='Highlight this post'>No.</a>" +
"<a href='#{
if g.VIEW is 'thread' and g.THREADID is +threadID
if g.VIEW is 'thread' and g.THREADID is threadID
"javascript:quote(#{postID})"
else
"/#{boardID}/res/#{threadID}#q#{postID}"

View File

@ -194,8 +194,8 @@ Get =
threadID = +data.thread_num
o =
# id
postID: "#{postID}"
threadID: "#{threadID}"
postID: postID
threadID: threadID
boardID: boardID
# info
name: data.name_processed

View File

@ -33,6 +33,8 @@ class Thread
className: "#{typeLC}Icon"
root = if type is 'Closed' and @isSticky
$ '.stickyIcon', @OP.nodes.info
else if g.VIEW is 'index'
$ '.page-num', @OP.nodes.info
else
$ '[title="Quote this post"]', @OP.nodes.info
$.after root, [$.tn(' '), icon]