Tiny fixes.
This commit is contained in:
parent
4e0e881172
commit
7fda9f1fb6
@ -63,10 +63,7 @@ Build =
|
|||||||
isOP = postID is threadID
|
isOP = postID is threadID
|
||||||
|
|
||||||
staticPath = '//s.4cdn.org/image/'
|
staticPath = '//s.4cdn.org/image/'
|
||||||
gifIcon = if window.devicePixelRatio >= 2
|
gifIcon = if window.devicePixelRatio >= 2 then '@2x.gif' else '.gif'
|
||||||
'@2x.gif'
|
|
||||||
else
|
|
||||||
'.gif'
|
|
||||||
|
|
||||||
if email
|
if email
|
||||||
emailStart = '<a href="mailto:' + email + '" class="useremail">'
|
emailStart = '<a href="mailto:' + email + '" class="useremail">'
|
||||||
@ -226,7 +223,7 @@ Build =
|
|||||||
"<span class='postNum'>" +
|
"<span class='postNum'>" +
|
||||||
"<a href=#{"/#{boardID}/res/#{threadID}#p#{postID}"} title='Highlight this post'>No.</a>" +
|
"<a href=#{"/#{boardID}/res/#{threadID}#p#{postID}"} title='Highlight this post'>No.</a>" +
|
||||||
"<a href='#{
|
"<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})"
|
"javascript:quote(#{postID})"
|
||||||
else
|
else
|
||||||
"/#{boardID}/res/#{threadID}#q#{postID}"
|
"/#{boardID}/res/#{threadID}#q#{postID}"
|
||||||
|
|||||||
@ -194,8 +194,8 @@ Get =
|
|||||||
threadID = +data.thread_num
|
threadID = +data.thread_num
|
||||||
o =
|
o =
|
||||||
# id
|
# id
|
||||||
postID: "#{postID}"
|
postID: postID
|
||||||
threadID: "#{threadID}"
|
threadID: threadID
|
||||||
boardID: boardID
|
boardID: boardID
|
||||||
# info
|
# info
|
||||||
name: data.name_processed
|
name: data.name_processed
|
||||||
|
|||||||
@ -33,6 +33,8 @@ class Thread
|
|||||||
className: "#{typeLC}Icon"
|
className: "#{typeLC}Icon"
|
||||||
root = if type is 'Closed' and @isSticky
|
root = if type is 'Closed' and @isSticky
|
||||||
$ '.stickyIcon', @OP.nodes.info
|
$ '.stickyIcon', @OP.nodes.info
|
||||||
|
else if g.VIEW is 'index'
|
||||||
|
$ '.page-num', @OP.nodes.info
|
||||||
else
|
else
|
||||||
$ '[title="Quote this post"]', @OP.nodes.info
|
$ '[title="Quote this post"]', @OP.nodes.info
|
||||||
$.after root, [$.tn(' '), icon]
|
$.after root, [$.tn(' '), icon]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user