From 9462910961bc87d8fc47f1ab281a4ca53dd16bd3 Mon Sep 17 00:00:00 2001 From: Jordan Bates Date: Mon, 20 May 2013 01:07:45 -0700 Subject: [PATCH] Dont really need a title --- builds/4chan-X.js | 4 ++-- builds/4chan-X.user.js | 4 ++-- builds/crx/script.js | 4 ++-- src/Posting/QuickReply.coffee | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/builds/4chan-X.js b/builds/4chan-X.js index 9c42cf533..9873aa57a 100644 --- a/builds/4chan-X.js +++ b/builds/4chan-X.js @@ -4660,14 +4660,14 @@ }); }, initReady: function() { - var link, title; + var link; QR.postingIsEnabled = !!$.id('postForm'); if (!QR.postingIsEnabled) { return; } link = $.el('h1', { - innerHTML: "" + (title = g.VIEW === 'thread' ? 'Reply to Thread' : 'Start a Thread') + "", + innerHTML: "" + (g.VIEW === 'thread' ? 'Reply to Thread' : 'Start a Thread') + "", className: "qr-link-container" }); $.on(link.firstChild, 'click', function() { diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 4c493ecf0..c11af2239 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -4644,14 +4644,14 @@ }); }, initReady: function() { - var link, title; + var link; QR.postingIsEnabled = !!$.id('postForm'); if (!QR.postingIsEnabled) { return; } link = $.el('h1', { - innerHTML: "" + (title = g.VIEW === 'thread' ? 'Reply to Thread' : 'Start a Thread') + "", + innerHTML: "" + (g.VIEW === 'thread' ? 'Reply to Thread' : 'Start a Thread') + "", className: "qr-link-container" }); $.on(link.firstChild, 'click', function() { diff --git a/builds/crx/script.js b/builds/crx/script.js index 571522f59..8d6535c2d 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -4646,14 +4646,14 @@ }); }, initReady: function() { - var link, title; + var link; QR.postingIsEnabled = !!$.id('postForm'); if (!QR.postingIsEnabled) { return; } link = $.el('h1', { - innerHTML: "" + (title = g.VIEW === 'thread' ? 'Reply to Thread' : 'Start a Thread') + "", + innerHTML: "" + (g.VIEW === 'thread' ? 'Reply to Thread' : 'Start a Thread') + "", className: "qr-link-container" }); $.on(link.firstChild, 'click', function() { diff --git a/src/Posting/QuickReply.coffee b/src/Posting/QuickReply.coffee index bd119d8d1..8fe333372 100644 --- a/src/Posting/QuickReply.coffee +++ b/src/Posting/QuickReply.coffee @@ -37,7 +37,7 @@ QR = return unless QR.postingIsEnabled link = $.el 'h1', - innerHTML: "#{title = if g.VIEW is 'thread' then 'Reply to Thread' else 'Start a Thread'}" + innerHTML: "#{if g.VIEW is 'thread' then 'Reply to Thread' else 'Start a Thread'}" className: "qr-link-container" $.on link.firstChild, 'click', -> $.event 'CloseMenu'