From be8c817ae978d73f4f099a2025ae20c43b13f0c3 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Tue, 27 Jan 2015 22:24:28 -0800 Subject: [PATCH] Remove another duplicated event handler. --- builds/appchan-x.user.js | 3 --- builds/crx/script.js | 3 --- src/Posting/QR.coffee | 1 - 3 files changed, 7 deletions(-) diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 2d0ae80a9..5d31bbad1 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -9968,9 +9968,6 @@ $.on(nodes[name], event, save); } $.on(nodes['name'], 'blur', QR.tripcodeHider); - $.on(nodes.thread, 'change', function() { - return QR.selected.save(this); - }); if (Conf['Remember QR Size']) { $.get('QR Size', '', function(item) { return nodes.com.style.cssText = item['QR Size']; diff --git a/builds/crx/script.js b/builds/crx/script.js index d349ee373..f330a626c 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -10018,9 +10018,6 @@ $.on(nodes[name], event, save); } $.on(nodes['name'], 'blur', QR.tripcodeHider); - $.on(nodes.thread, 'change', function() { - return QR.selected.save(this); - }); QR.generatePostableThreadsList(); QR.persona.init(); new QR.post(true); diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index 49433fc28..ce12c9f3f 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -501,7 +501,6 @@ QR = event = if node.nodeName is 'SELECT' then 'change' else 'input' $.on nodes[name], event, save $.on nodes['name'], 'blur', QR.tripcodeHider - $.on nodes.thread, 'change', -> QR.selected.save @ <% if (type === 'userscript') { %> if Conf['Remember QR Size']