From 17a55d0542cf937b1fc82a7adb1efee89dff0fba Mon Sep 17 00:00:00 2001 From: James Campos Date: Tue, 9 Aug 2011 04:17:55 -0700 Subject: [PATCH] derp --- 4chan_x.user.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index dc9721f1e..fde3c4a54 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1248,7 +1248,7 @@ fileDiv = $.el('div', { innerHTML: 'X' }); - $.bind(fileDiv.firstChild('change', qr.validateFileSize)); + $.bind(fileDiv.firstChild, 'change', qr.validateFileSize); $.bind(fileDiv.lastChild, 'click', (function() { return $.rm(this.parentNode); })); diff --git a/script.coffee b/script.coffee index 7449ebd2b..74ed47244 100644 --- a/script.coffee +++ b/script.coffee @@ -988,7 +988,7 @@ qr = attach: -> $('#auto', qr.el).checked = true fileDiv = $.el 'div', innerHTML: 'X' - $.bind fileDiv.firstChild 'change', qr.validateFileSize + $.bind fileDiv.firstChild, 'change', qr.validateFileSize $.bind fileDiv.lastChild, 'click', (-> $.rm @parentNode) $.prepend qr.files, fileDiv