More oops
This commit is contained in:
parent
10a2a96a96
commit
1470c0e563
@ -3487,7 +3487,7 @@
|
|||||||
textContent: 'Show thread',
|
textContent: 'Show thread',
|
||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
});
|
});
|
||||||
$.on(show, 'click', ThreadHiding.menu.show);
|
$.on(div, 'click', ThreadHiding.menu.show);
|
||||||
$.event('AddMenuEntry', {
|
$.event('AddMenuEntry', {
|
||||||
type: 'post'
|
type: 'post'
|
||||||
});
|
});
|
||||||
@ -4223,12 +4223,14 @@
|
|||||||
},
|
},
|
||||||
cb: {
|
cb: {
|
||||||
seek: function(type) {
|
seek: function(type) {
|
||||||
var post, posts, result, str;
|
var highlight, post, posts, result, str;
|
||||||
|
|
||||||
if (!(Conf['Mark Quotes of You'] && Conf['Quick Reply'])) {
|
if (!(Conf['Mark Quotes of You'] && Conf['Quick Reply'])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$.rmClass($('.highlight'), 'highlight');
|
if (highlight = $('.highlight')) {
|
||||||
|
$.rmClass(highlight, 'highlight');
|
||||||
|
}
|
||||||
if (!QuoteYou.lastRead) {
|
if (!QuoteYou.lastRead) {
|
||||||
if (!(post = QuoteYou.lastRead = $('.quotesYou'))) {
|
if (!(post = QuoteYou.lastRead = $('.quotesYou'))) {
|
||||||
new Notification('warning', 'No posts are currently quoting you, loser.', 20);
|
new Notification('warning', 'No posts are currently quoting you, loser.', 20);
|
||||||
|
|||||||
@ -3492,7 +3492,7 @@
|
|||||||
textContent: 'Show thread',
|
textContent: 'Show thread',
|
||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
});
|
});
|
||||||
$.on(show, 'click', ThreadHiding.menu.show);
|
$.on(div, 'click', ThreadHiding.menu.show);
|
||||||
$.event('AddMenuEntry', {
|
$.event('AddMenuEntry', {
|
||||||
type: 'post'
|
type: 'post'
|
||||||
});
|
});
|
||||||
@ -4228,12 +4228,14 @@
|
|||||||
},
|
},
|
||||||
cb: {
|
cb: {
|
||||||
seek: function(type) {
|
seek: function(type) {
|
||||||
var post, posts, result, str;
|
var highlight, post, posts, result, str;
|
||||||
|
|
||||||
if (!(Conf['Mark Quotes of You'] && Conf['Quick Reply'])) {
|
if (!(Conf['Mark Quotes of You'] && Conf['Quick Reply'])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$.rmClass($('.highlight'), 'highlight');
|
if (highlight = $('.highlight')) {
|
||||||
|
$.rmClass(highlight, 'highlight');
|
||||||
|
}
|
||||||
if (!QuoteYou.lastRead) {
|
if (!QuoteYou.lastRead) {
|
||||||
if (!(post = QuoteYou.lastRead = $('.quotesYou'))) {
|
if (!(post = QuoteYou.lastRead = $('.quotesYou'))) {
|
||||||
new Notification('warning', 'No posts are currently quoting you, loser.', 20);
|
new Notification('warning', 'No posts are currently quoting you, loser.', 20);
|
||||||
|
|||||||
@ -86,7 +86,7 @@ ThreadHiding =
|
|||||||
className: 'show-thread-link'
|
className: 'show-thread-link'
|
||||||
textContent: 'Show thread'
|
textContent: 'Show thread'
|
||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
$.on show, 'click', ThreadHiding.menu.show
|
$.on div, 'click', ThreadHiding.menu.show
|
||||||
|
|
||||||
$.event 'AddMenuEntry',
|
$.event 'AddMenuEntry',
|
||||||
type: 'post'
|
type: 'post'
|
||||||
|
|||||||
@ -34,7 +34,7 @@ QuoteYou =
|
|||||||
cb:
|
cb:
|
||||||
seek: (type) ->
|
seek: (type) ->
|
||||||
return unless Conf['Mark Quotes of You'] and Conf['Quick Reply']
|
return unless Conf['Mark Quotes of You'] and Conf['Quick Reply']
|
||||||
$.rmClass $('.highlight'), 'highlight'
|
$.rmClass highlight, 'highlight' if highlight = $ '.highlight'
|
||||||
|
|
||||||
unless QuoteYou.lastRead
|
unless QuoteYou.lastRead
|
||||||
unless post = QuoteYou.lastRead = $ '.quotesYou'
|
unless post = QuoteYou.lastRead = $ '.quotesYou'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user