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