Rename duckrolls, see #17

This commit is contained in:
Nicolas Stepien 2011-12-04 02:02:44 +01:00
parent ec326e7557
commit ce1daf656e
3 changed files with 47 additions and 45 deletions

View File

@ -121,7 +121,7 @@
'Quote Inline': [true, 'Show quoted post inline on quote click'], 'Quote Inline': [true, 'Show quoted post inline on quote click'],
'Quote Preview': [true, 'Show quote content on hover'], 'Quote Preview': [true, 'Show quote content on hover'],
'Indicate OP quote': [true, 'Add \'(OP)\' to OP quotes'], 'Indicate OP quote': [true, 'Add \'(OP)\' to OP quotes'],
'Indicate Duckrolls': [true, 'Add \'(Duckroll)\' to cross threads quotes'] 'Indicate Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes']
} }
}, },
filter: { filter: {
@ -2595,7 +2595,7 @@
for (_i = 0, _len = _ref.length; _i < _len; _i++) { for (_i = 0, _len = _ref.length; _i < _len; _i++) {
quote = _ref[_i]; quote = _ref[_i];
if (quote.pathname.indexOf("res/" + tid) === -1 && !quote.pathname.indexOf("/" + g.BOARD + "/res")) { if (quote.pathname.indexOf("res/" + tid) === -1 && !quote.pathname.indexOf("/" + g.BOARD + "/res")) {
_results.push(quote.innerHTML += '&nbsp;(Duckroll)'); _results.push(quote.innerHTML += '&nbsp;(Cross-thread)');
} else { } else {
_results.push(void 0); _results.push(void 0);
} }
@ -2986,7 +2986,7 @@
if (conf['Quote Preview']) quotePreview.init(); if (conf['Quote Preview']) quotePreview.init();
if (conf['Quote Backlinks']) quoteBacklink.init(); if (conf['Quote Backlinks']) quoteBacklink.init();
if (conf['Indicate OP quote']) quoteOP.init(); if (conf['Indicate OP quote']) quoteOP.init();
if (conf['Indicate Duckrolls']) quoteDR.init(); if (conf['Indicate Cross-thread Quotes']) quoteDR.init();
if (d.body) { if (d.body) {
return Main.onLoad(); return Main.onLoad();
} else { } else {

View File

@ -1,4 +1,6 @@
master master
- mayhem
change 'Duckroll' for 'Cross-thread'
2.22.0 2.22.0
- mayhem - mayhem

View File

@ -45,7 +45,7 @@ config =
'Quote Inline': [true, 'Show quoted post inline on quote click'] 'Quote Inline': [true, 'Show quoted post inline on quote click']
'Quote Preview': [true, 'Show quote content on hover'] 'Quote Preview': [true, 'Show quote content on hover']
'Indicate OP quote': [true, 'Add \'(OP)\' to OP quotes'] 'Indicate OP quote': [true, 'Add \'(OP)\' to OP quotes']
'Indicate Duckrolls': [true, 'Add \'(Duckroll)\' to cross threads quotes'] 'Indicate Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes']
filter: filter:
name: '' name: ''
tripcode: '' tripcode: ''
@ -2009,7 +2009,7 @@ quoteDR =
for quote in $$ '.quotelink', root for quote in $$ '.quotelink', root
#if quote leads to a different thread id and is located on the same board (index 0) #if quote leads to a different thread id and is located on the same board (index 0)
if quote.pathname.indexOf("res/#{tid}") is -1 and !quote.pathname.indexOf "/#{g.BOARD}/res" if quote.pathname.indexOf("res/#{tid}") is -1 and !quote.pathname.indexOf "/#{g.BOARD}/res"
quote.innerHTML += '&nbsp;(Duckroll)' quote.innerHTML += '&nbsp;(Cross-thread)'
reportButton = reportButton =
init: -> init: ->
@ -2335,7 +2335,7 @@ Main =
if conf['Indicate OP quote'] if conf['Indicate OP quote']
quoteOP.init() quoteOP.init()
if conf['Indicate Duckrolls'] if conf['Indicate Cross-thread Quotes']
quoteDR.init() quoteDR.init()