Some misses

This commit is contained in:
Zixaphir 2014-05-03 06:27:49 -07:00
parent e8a3f65c5f
commit 7375484693
5 changed files with 7 additions and 7 deletions

View File

@ -7849,7 +7849,7 @@
title: title title: title
}); });
thumb.dataset.id = Gallery.images.length; 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) { if (post.file.isVideo) {
thumb.dataset.isVideo = true; thumb.dataset.isVideo = true;
} }
@ -12802,7 +12802,7 @@
post: function() { post: function() {
var linktype; var linktype;
if (!(g.VIEW === 'thread' && this.thread.ID === g.THREADID)) { 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)) { if (!(linktype = Conf['Quote Inlining'] && Conf['Quote Hash Navigation'] ? '.hashlink' : !Conf['Quote Inlining'] ? '.quotelink' : null)) {
return; return;

View File

@ -7887,7 +7887,7 @@
title: title title: title
}); });
thumb.dataset.id = Gallery.images.length; 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) { if (post.file.isVideo) {
thumb.dataset.isVideo = true; thumb.dataset.isVideo = true;
} }
@ -12822,7 +12822,7 @@
post: function() { post: function() {
var linktype; var linktype;
if (!(g.VIEW === 'thread' && this.thread.ID === g.THREADID)) { 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)) { if (!(linktype = Conf['Quote Inlining'] && Conf['Quote Hash Navigation'] ? '.hashlink' : !Conf['Quote Inlining'] ? '.quotelink' : null)) {
return; return;

View File

@ -39,7 +39,7 @@ Navigate =
post: -> # Allows us to navigate via JSON from thread to thread by hashes and quote highlights. 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 # We don't need to reload the thread inside the thread
unless g.VIEW is 'thread' and @thread.ID is g.THREADID 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'] return unless (linktype = if Conf['Quote Inlining'] and Conf['Quote Hash Navigation']
'.hashlink' '.hashlink'

View File

@ -18,7 +18,7 @@
</span>#{" "} </span>#{" "}
<span class=dateTime data-utc=#{dateUTC}>#{date}</span>#{' '} <span class=dateTime data-utc=#{dateUTC}>#{date}</span>#{' '}
<span class='postNum'> <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='#{ <a href='#{
if g.VIEW is 'thread' and g.THREADID is +threadID then if g.VIEW is 'thread' and g.THREADID is +threadID then
"javascript:quote(#{postID})" "javascript:quote(#{postID})"

View File

@ -109,7 +109,7 @@ Gallery =
title: title title: title
thumb.dataset.id = Gallery.images.length 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 thumb.dataset.isVideo = true if post.file.isVideo
thumbImg = post.file.thumb.cloneNode false thumbImg = post.file.thumb.cloneNode false