Merge branch 'v3'
Conflicts: builds/appchan-x.user.js builds/crx/script.js
This commit is contained in:
commit
9d3ad61925
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -39,7 +39,7 @@ Navigate =
|
||||
post: -> # Allows us to navigate via JSON from thread to thread by hashes and quote highlights.
|
||||
# We don't need to reload the thread inside the thread
|
||||
unless g.VIEW is 'thread' and @thread.ID is g.THREADID
|
||||
$.on $('a[title="Highlight this post"]', @nodes.info), 'click', Navigate.navigate
|
||||
$.on $('a[title="Link to this post"]', @nodes.info), 'click', Navigate.navigate
|
||||
|
||||
return unless (linktype = if Conf['Quote Inlining'] and Conf['Quote Hash Navigation']
|
||||
'.hashlink'
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
#search-label,
|
||||
#search-label-bottom,
|
||||
#styleSwitcher,
|
||||
#togglePostForm,
|
||||
#togglePostFormLink,
|
||||
.boardBanner > div,
|
||||
.next form,
|
||||
.next span,
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
</span>#{" "}
|
||||
<span class=dateTime data-utc=#{dateUTC}>#{date}</span>#{' '}
|
||||
<span class='postNum'>
|
||||
<a href=#{"/#{boardID}/thread/#{threadID}#p#{postID}"} title='Highlight this post'>No.</a>
|
||||
<a href=#{"/#{boardID}/thread/#{threadID}#p#{postID}"} title='Link to this post'>No.</a>
|
||||
<a href='#{
|
||||
if g.VIEW is 'thread' and g.THREADID is +threadID then
|
||||
"javascript:quote(#{postID})"
|
||||
|
||||
@ -111,7 +111,7 @@ Gallery =
|
||||
title: title
|
||||
|
||||
thumb.dataset.id = Gallery.images.length
|
||||
thumb.dataset.post = $('a[title="Highlight this post"]', post.nodes.info).href
|
||||
thumb.dataset.post = $('a[title="Link to this post"]', post.nodes.info).href
|
||||
thumb.dataset.isVideo = true if post.file.isVideo
|
||||
|
||||
thumbImg = post.file.thumb.cloneNode false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user