From f90c12dc83083cbe0b3efe276e9eba8252c0a19c Mon Sep 17 00:00:00 2001 From: James Campos Date: Wed, 21 Sep 2011 23:11:41 -0700 Subject: [PATCH] don't need img bind --- 4chan_x.user.js | 3 --- script.coffee | 1 - 2 files changed, 4 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 4c5f0e2aa..b77c3c370 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1263,9 +1263,6 @@ }); file = $('input', box); $.bind(file, 'change', QR.change); - $.bind($('img', box), 'click', function() { - return $('input', this.parentNode).click(); - }); $.bind($('.x', box), 'click', QR.rmThumb); $.add(files, box); file.click(); diff --git a/script.coffee b/script.coffee index f2b9988b1..6802230f7 100644 --- a/script.coffee +++ b/script.coffee @@ -976,7 +976,6 @@ QR = innerHTML: "X" file = $ 'input', box $.bind file, 'change', QR.change - $.bind $('img', box), 'click', -> $('input', @parentNode).click() $.bind $('.x', box), 'click', QR.rmThumb $.add files, box file.click()