From 07afcd600c4c2cc6245d91e5405af656d13a2779 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Mon, 12 Mar 2012 19:20:17 +0100 Subject: [PATCH] Set a 'deadlink' class to linkified quotes. Change descriptions. --- 4chan_x.user.js | 4 ++-- changelog | 2 +- script.coffee | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index b6faaec09..eeb502aa9 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -132,7 +132,7 @@ 'Quote Highlighting': [true, 'Highlight the previewed post'], 'Quote Inline': [true, 'Show quoted post inline on quote click'], 'Quote Preview': [true, 'Show quote content on hover'], - 'Resurrect Quotes': [true, 'Bring dead links back to life'], + 'Resurrect Quotes': [true, 'Linkify dead quotes to archives'], 'Indicate OP quote': [true, 'Add \'(OP)\' to OP quotes'], 'Indicate Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes'], 'Forward Hiding': [true, 'Hide original posts of inlined backlinks'] @@ -3364,7 +3364,7 @@ className = 'quotelink'; } else { href = Redirect.thread(board, id, 'post'); - className = null; + className = 'deadlink'; } nodes.push($.el('a', { textContent: "" + quote + "\u00A0(Dead)", diff --git a/changelog b/changelog index 5ec5d1cfe..fbb5c74e1 100644 --- a/changelog +++ b/changelog @@ -1,6 +1,6 @@ master - Mayhem - New feature: Quote Resurrection, automatically linking to archives. + New feature: Quote Resurrection, automatically linkifying dead quotes to archives. 2.28.1 - Mayhem diff --git a/script.coffee b/script.coffee index 6c36c4d06..d2a7c283d 100644 --- a/script.coffee +++ b/script.coffee @@ -50,7 +50,7 @@ config = 'Quote Highlighting': [true, 'Highlight the previewed post'] 'Quote Inline': [true, 'Show quoted post inline on quote click'] 'Quote Preview': [true, 'Show quote content on hover'] - 'Resurrect Quotes': [true, 'Bring dead links back to life'] + 'Resurrect Quotes': [true, 'Linkify dead quotes to archives'] 'Indicate OP quote': [true, 'Add \'(OP)\' to OP quotes'] 'Indicate Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes'] 'Forward Hiding': [true, 'Hide original posts of inlined backlinks'] @@ -2812,7 +2812,7 @@ Quotify = className = 'quotelink' else href = Redirect.thread board, id, 'post' - className = null + className = 'deadlink' nodes.push $.el 'a', # \u00A0 is nbsp