Some misses
This commit is contained in:
parent
e8a3f65c5f
commit
7375484693
@ -7849,7 +7849,7 @@
|
||||
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;
|
||||
if (post.file.isVideo) {
|
||||
thumb.dataset.isVideo = true;
|
||||
}
|
||||
@ -12802,7 +12802,7 @@
|
||||
post: function() {
|
||||
var linktype;
|
||||
if (!(g.VIEW === 'thread' && this.thread.ID === g.THREADID)) {
|
||||
$.on($('a[title="Highlight this post"]', this.nodes.info), 'click', Navigate.navigate);
|
||||
$.on($('a[title="Link to this post"]', this.nodes.info), 'click', Navigate.navigate);
|
||||
}
|
||||
if (!(linktype = Conf['Quote Inlining'] && Conf['Quote Hash Navigation'] ? '.hashlink' : !Conf['Quote Inlining'] ? '.quotelink' : null)) {
|
||||
return;
|
||||
|
||||
@ -7887,7 +7887,7 @@
|
||||
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;
|
||||
if (post.file.isVideo) {
|
||||
thumb.dataset.isVideo = true;
|
||||
}
|
||||
@ -12822,7 +12822,7 @@
|
||||
post: function() {
|
||||
var linktype;
|
||||
if (!(g.VIEW === 'thread' && this.thread.ID === g.THREADID)) {
|
||||
$.on($('a[title="Highlight this post"]', this.nodes.info), 'click', Navigate.navigate);
|
||||
$.on($('a[title="Link to this post"]', this.nodes.info), 'click', Navigate.navigate);
|
||||
}
|
||||
if (!(linktype = Conf['Quote Inlining'] && Conf['Quote Hash Navigation'] ? '.hashlink' : !Conf['Quote Inlining'] ? '.quotelink' : null)) {
|
||||
return;
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -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})"
|
||||
|
||||
@ -109,7 +109,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